Hey guys,
Is there any way to get a php files to reference images from it's own location rather them the location it's included from ?
for instance; my index file has an include to a file in a dir called pages and the included file has images that are in a dir called images that is in the dir called pages, but the images will not show unless I reference them to pages/images/etc... even though the file is in pages,
I dislike this about php, if I used frames this would not be an issue!
I will explain further if need be
Thanks in advance !
+--------------------------+
| "Hacker by Heart" |
| Yahoo! : saenzcorp |
+--------------------------+
Is there any way to get a php files to reference images from it's own location rather them the location it's included from ?
for instance; my index file has an include to a file in a dir called pages and the included file has images that are in a dir called images that is in the dir called pages, but the images will not show unless I reference them to pages/images/etc... even though the file is in pages,
I dislike this about php, if I used frames this would not be an issue!
I will explain further if need be
Thanks in advance !
+--------------------------+
| "Hacker by Heart" |
| Yahoo! : saenzcorp |
+--------------------------+