Re: Modify php.ini setting in code
| From: | George Patterson | Date: | Wed, 28 May 2003 01:32:46 +0000 |
| Subject: | Re: Modify php.ini setting in code | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28103@lists.php.net to get a copy of this message | ||
On Tue, 27 May 2003 20:13:52 -0400
"Harlan Lax" <hlax@optonline.net> wrote:
> I am using a ISP that provides php and mysql but doesn't allow me to
> edit the php.ini. I cannot change the include path to point to a
> directory I have access to. Is there a way to set ini setting in a
> script ?
>
Harlan,
A better solution is to use to relative paths.. :-)
eg
include("incl/config.php");
where incl is the directory that contains the file that you wish to utilise.
Regards
George Patterson