Re: [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT'] [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Thank you all for your responses. The problem is now half solved. In the majority of cases, using a period before the directory path ( i.e. ./directory ) will give me the correct path to the directory I specify from the relative path from the web root.
However, it still will not work with the random_image function I created when called from within the web forum I'm using, which is the PHP based "Simple Machines Forum".
I will take this inquiry to their support forum to see if there is any special considerations about their PHP that I should know about.


Thank you all for your time and explanations. I have learned a lot about the DOCUMENT_ROOT variable.

--
Dave Gutteridge
dave@xxxxxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux