Working directory of PHP pages?

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

 



It is my understanding that when you open a page the PHP server looks for index.php in the
site root directory, and loads it. As a result the working directory of the page will be
the root directory of the site.  I have always worked on this assumption, and it has
always been correct.  On the other hand Stewart thinks that I cannot rely this, and am
likely to get into trouble as a result.

Are there any systems in which my assumption will not be correct?


-- 
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