note 20025 deleted from function.include by sniper

From: Date: Wed, 29 Jan 2003 04:08:34 +0000
Subject: note 20025 deleted from function.include by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-42980@lists.php.net to get a copy of this message
One way i have not seen anyone do is make a config.php file, in that file have a line ini_set("include_path","/home/virtual/site/var/www/html"); (or whatever the local path is), this can be found out using one of the predefined verables, i forget which. Then in everypage, the first page will include config.php using ..\ if neccersary. Then after that you just include everything as you would from the document root. Hope it helps, as it took me 2 weeks to perfect this method

« previous php.notes (#42980) next »