If I'm working on a project, I'll usually create a folder to contain all
the project files before uploading this to the root of the production
server. The trouble is that if I do:
include('/myfile.php')
this looks at the root of local host, as it should and not at the root
of the working directory. It means that if I want to use absolute
links, I have to change them before I upload.
Or am I missing something blindingly obvious?
I'm pretty sure this has been done before (FAQ entry material?), but not
for a while. :-)
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011