Re: Re: best way to properly build an include path *regardless* from where I am calling the include?
| From: | Govinda | Date: | Mon, 06 Jul 2009 00:55:02 +0000 |
| Subject: | Re: Re: best way to properly build an include path *regardless* from where I am calling the include? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-294909@lists.php.net to get a copy of this message | ||
On Jul 5, 2009, at 4:17 PM, Michael A. Peters wrote:
I use $includeArray[]="/usr/share/pear"; $includeArray[]="/some/other/path"; $includeArray[]="/yet/another/path"; $incPath = impode(':',$includeArray);
ini_set("include_path",$incPath);is that ^^^^^ something one can generally set on a shared hosting environment?