Include-Path mess...

From: Date: Sun, 06 Aug 2000 12:21:52 +0000
Subject: Include-Path mess...
Groups: php.general 
Request: Send a blank email to php-general+get-10322@lists.php.net to get a copy of this message
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

« previous php.general (#10322) next »