Re: how to configure PHP (.ini) so I can use include() from any directory
| From: | Tom Rogers | Date: | Tue, 21 May 2002 10:21:35 +0000 |
| Subject: | Re: how to configure PHP (.ini) so I can use include() from any directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98572@lists.php.net to get a copy of this message | ||
Hi
I use this at the start of my pages, it adds the original path to the extra one: (keeps the include files out of the web servers view :)
ini_set ("include_path",ini_get("include_path").":../include");
Tom
At 06:47 PM 21/05/2002, Wilbert Enserink wrote:
Hi all, anybody knows how to configure PHP (.ini) so I can use include() from any directory instead of declaring specified "paths" in php.ini? I'm currently using php 4.05 with apache 1.3 something on a winXP test machine regards. Wilbert ------------------------- Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl info@pdd.nl -------------------------