ASP programmer dipping toes into PHP - hit brick wall so apologies in advance.
I am trying to get a PHP app written for linux web server to work on win 98. I am using dev-php.
I can get the pages to serve but the relative html links (e.g. /images/img.gif) are not displaying because the browser thinks it equate to the root of the drive not the webpages directory (e.g. C:\images\img.gif rather than c:\website\pages\images\img.gif)
Do I have to manually change all the code or is there something obvious (but not to me) that I have missed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ASP programmer dipping toes into PHP - hit brick wall so apologies in advance.
I am trying to get a PHP app written for linux web server to work on win 98. I am using dev-php.
I can get the pages to serve but the relative html links (e.g. /images/img.gif) are not displaying because the browser thinks it equate to the root of the drive not the webpages directory (e.g. C:\images\img.gif rather than c:\website\pages\images\img.gif)
Do I have to manually change all the code or is there something obvious (but not to me) that I have missed.