|
Posted by laredotornado@zipmail.com on 06/26/07 19:55
Hi,
We're using PHP 4.4.4 with Apache 2 on Linux. Aggravatingly, the
hosting company has done something to where $_SERVER['DOCUMENT_ROOT']
no longer returns the path to the web root directory. I have now gone
through all my code and replaced $_SERVER['DOCUMENT_ROOT'] with a
constant, DOC_ROOT. Now, the challenge is to define the constant.
Suggestions?
One important thing. The file the constant will be defined in is not
necessarily going to be a file at the web root level.
Thanks for all your help, - Dave
Navigation:
[Reply to this message]
|