Re: Bug #14341 Updated: include() http vs file system - variable scope
| From: | Daniel Lorch | Date: | Tue, 04 Dec 2001 19:50:53 +0000 |
| Subject: | Re: Bug #14341 Updated: include() http vs file system - variable scope | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72495@lists.php.net to get a copy of this message | ||
hi,
> $rootFile = "/accounts/www73038/www/www.art-co-op.net/html";
>
> $rootDir = "http://shell9.vhosting.com/www73038";
>
>
>
> include(../../includes/inc_file); //-- works
>
> include($rootFile. "/includes/inc_file); //-- works
>
> include($rootHttp. "/includes/inc_file); //-- fails
maybe because of $rootDir and $rootHttp ?
Kind Regards,
Daniel Lorch