On 20 Apr 2001 14:04:00 -0700, Olivier Botineau <[EMAIL PROTECTED]> wrote:
>Good evening all,
>do you know if its possible to give an absolute path instead of a relative path for
>include:
>include( '../../menu.php' ); is OK
>incude( '/inculde/menu.php' ); is Not OK
That's the correct syntax for an absolute path but it's relative to the webroot
- you'll need to add in the full path - e.g. "/www/site/include/menu.php" or
"C:/IIS/site/include/menu.php".
I generally prefer to set include_path for each virtual host so I can place
included files outside of the webroot and not have to worry about paths.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]