Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Root trouble

ITAITA Member Posts: 463
I've created a PHP driven website which resides in the root directory. The problem is that when I try to use absolute links in my scripts it always fails. This is not a problem with my website since it works when it gets uploaded to the 'real' server.

An example link would be: /somefolder/somewhere - this fails
../../somefolder/somewhere - this works

I can't use the latter since my scripts reside in varying levels of directories and all use the same template.

How can I resolve this issue?

Please help, many thanks,

ITA
"Let us smite the evil slime eating hordes who may befall us on our quest to be the ultimate programmers of the known universe!"
Sign In or Register to comment.