Include Path Troubles... I figured it out!

From: Date: Thu, 27 Mar 2003 17:13:40 +0000
Subject: Include Path Troubles... I figured it out!
Groups: php.general 
Request: Send a blank email to php-general+get-141265@lists.php.net to get a copy of this message
Hi all, If you're having trouble with PHP includes and directories, are on a shared server, etc. this function is totally cool: ini_set("include_path",".:/your/dir/to/whatever:/another/dir/to/whatever"); make sure you put the '.:' at the begginning and seperate with a ':'. I'm using it and it works really well if you put it at the top of all your pages! The include_path returns to the normal value when the script is completed. -Michael -- Mike <php-digest@custom87.net>

« previous php.general (#141265) next »