Re: Using function in PHP script n DOCROOT in PHP script in subfolder
| From: | Miguel Cruz | Date: | Sat, 11 May 2002 03:08:42 +0000 |
| Subject: | Re: Using function in PHP script n DOCROOT in PHP script in subfolder | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97062@lists.php.net to get a copy of this message | ||
On Fri, 10 May 2002, Phil Powell wrote:
> How do I fix this problem? I do not want to duplicate the PHP script per
> folder as there will be an enormous amount of dynamically-created subfolders
> and I will have to copy a version per folder. I want to be able to use the
> one PHP script in the DOCROOT for every PHP script in every subfolder, how
> is this done?
Check out the include_path directive in php.ini (or .htaccess or
whatever).
miguel