note 44787 modified in function.ini-get by danbrown

From: Date: Sun, 20 Jul 2008 00:37:46 +0000
Subject: note 44787 modified in function.ini-get by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141853@lists.php.net to get a copy of this message
It might be useful for included scripts that include other files to extend the 'include_path' variable: <?php ini_set('include_path',ini_get('include_path').':../includes:'); ?> Sometimes, it may also be useful to store the current 'include_path' in a variable, overwrite it, include, and then restore the old 'include_path'. --was-- It might be useful for included scripts that include other files to extend the 'include_path' variable: <? ini_set('include_path',ini_get('include_path').':../includes:'); ?> Sometimes, it may also be useful to store the current 'include_path' in a variable, overwrite it, include, and then restore the old 'include_path'. http://php.net/manual/en/function.ini-get.php

« previous php.notes (#141853) next »