How to set an absolute include path?

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

 



Is there a command that will set the include path to the web server root?

I'm trying to set up a directory structure where include files will be called from all different folder depths, so I'll need to call them absolutely like:

  include('/includes/file.php');

where the above will work no matter from which level it's called. Thanks...

- Brian

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