Hi. I have a php script that includes another webpage. The other webpage is simply an apache listing of the files in that directory. However, for some reason, the links are off, and are instead from the directory my php script was called from. Example: I call
http:://duke3d.org/test.php
I then include the contents of
It will list them like the normal apache listing, but all links on the page are like
instead of
Any ideas?