Re: include() statement hell!

From: Date: Thu, 28 Mar 2002 08:00:34 +0000
Subject: Re: include() statement hell!
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-17980@lists.php.net to get a copy of this message
On Thursday 28 March 2002 14:58, Brad Melendy wrote: > How is this different than using the php.ini file? > > "Photocon" <photocon@speakeasy.org> wrote in message > news:5.1.0.14.0.20020327205003.022d7d60@mail.speakeasy.net... > > > At 22:41 3/27/2002 -0600, Dan Brunner wrote: > > >Has anybody told him to check his PHP.INI??? > > > > How about adding the following to httpd.conf: > > > > php_value include_path .:/usr/share/php:/path/to/webpages Because you can have per-site settings which are different from those of php.ini. Also you can have per-file settings by using the ini_set() function. If you're not able to change the httpd.conf file then just use ini_set() at the beginning of all your php files to specify an include path. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Support wildlife -- vote for an orgy. */

« previous php.db (#17980) next »