note 14972 deleted from function.require-once by sniper

From: Date: Tue, 04 Nov 2003 00:46:05 +0000
Subject: note 14972 deleted from function.require-once by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59833@lists.php.net to get a copy of this message
Note Submitter: brodie@sebresos.com ---- My programming team was able to nullify the "relative paths" problem by using an include path in our .htaccess file. This works similarly to the PATH in DOS, allowing us to use just the filenames of the files we want to include (or include_once) and omit the relative path portion. Add the following to your .htaccess file: php_value include_path .:/usr/home/blah/html/include_dir Then simply leave out all path info from your include() string.

« previous php.notes (#59833) next »