Hi there
We're working together with a graphic designer that wants us to add some PHP to his static website.
When got his pages, I saw, to my suprise, that every reference he makes to either images or stylesheets or whatnot, are preceeded by a /. For example, an image would be referenced like <img src="/images/logo.gif">, eventhough to my mind, it should be <img src="images/logo.gif"> because I'm in the root folder, looking to go up one. And sure enough, his code doesn't work on my localhost, only when i strip the first slash.
I'm developing on windows, but our servers are linux. The way he's done it works on neither. What's going on here? Is there some setting in apache that I need to change to make it work with the / in front? It must have worked for him, but obviously the way our servers are set up, it doesn't.
I really don't want to go through all his pages and remove the leading slash.
Any ideas? Thanks!
H