Re: PHP include dir

From: Date: Wed, 13 Nov 2002 20:13:34 +0000
Subject: Re: PHP include dir
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124303@lists.php.net to get a copy of this message
Good Skills - That precisely answered my question. Thanks! - MD On Wednesday, November 13, 2002, at 05:07 AM, BigDog wrote:
yeah, include_path ="path" this allows you to put scripts in other places out side the web document tree. For example: lets say you have configuration files that contain all your database passwords...you can put the document in a directory like /usr/local/php/config_scripts and add that directory to your include_path like so: include_path=".:/usr/local/php/config_scripts" And now you can access those scripts from your php scripts in your web document directory HTH On Wed, 2002-11-13 at 19:48, Mike D wrote:
How do I find the PHP include dir? I looked in the .ini file but it appears that the include dir directive is commented out, here it is: ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" Do I need to uncomment this? Thanks Mike Mike Dunlop Webmaster - AWN, Inc. [E] webmaster@awn.com [P] 323.606.4237 [F] 323.466.6619
-- .: B i g D o g :. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#124303) next »