Re: Include-Path mess...
| From: | Kenneth Bogucki | Date: | Sun, 06 Aug 2000 18:00:30 +0000 |
| Subject: | Re: Include-Path mess... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10352@lists.php.net to get a copy of this message | ||
Are you sure about the absolute path..
include ("/u/web/thisthat/somthing.php3");
ken
Martin Thoma wrote:
>
> Hello !
>
> I want to include php-scripts from differnet locations of my side. Since
> I'm different level deep into the path-structure of the side, I want to
> use absulot pathes to get not messed up.
>
> Of course you can use $DOCUMENT_ROOT."MyPath/MyPhp.php" to do it, but
> this might be a bit complicated since the system should be administrated
> from people which have almost no idea of how a computer works.
>
> Why doesn't it work when I use the absoult path "/MyPath/MyPhp.php" ? It
> always says "failed to include...". Why ? What does it mean in PHP ?
>
> Regards
>
> Martin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net