Re: PHP include dir
| From: | BigDog | Date: | Wed, 13 Nov 2002 13:07:48 +0000 |
| Subject: | Re: PHP include dir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124299@lists.php.net to get a copy of this message | ||
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 :.