Posted by Paul on 01/20/07 23:34
That works but here's the issue. I develop locally using virtual host like
www.client1site.com. When I want my client to see the progress, I upload
to:www.mysite.com/clients/client1/
So you can see that by referencing:
require_once($_SERVER['DOCUMENT_ROOT']."/utility/top.php");
take the reference to mysite.com/utility/, where instead I want it to go to
mysite.com/clients/client1/utility
Does that make better sense?
I am just looking for a way where I don't have to change all my references
when I upload it for client review, BEFORE uploading it to it's final host.
Navigation:
[Reply to this message]
|