weirdvision
06-23-2010, 11:48 AM
I'm trying to convert an old site that is currently using frames to PHP.
The directory structure is the following:
/articles
/articles/item1
/articles/item1.html
/articles.html
/index.php
In index.php I have the page item1.html included with 'include'. The page item1.html is displayed on the screen when included, but the images that should appear on it are not. The images associated to each itemX.html file are stored in an itemX subfolder of the articles folder. Is it possible to have images displayed without having to change the actual path in each html file? It's a pretty big site, over 400 pages, so I'm looking for minimum amount of changes needed. Thank you in advance!
The directory structure is the following:
/articles
/articles/item1
/articles/item1.html
/articles.html
/index.php
In index.php I have the page item1.html included with 'include'. The page item1.html is displayed on the screen when included, but the images that should appear on it are not. The images associated to each itemX.html file are stored in an itemX subfolder of the articles folder. Is it possible to have images displayed without having to change the actual path in each html file? It's a pretty big site, over 400 pages, so I'm looking for minimum amount of changes needed. Thank you in advance!