Re: Problem with inner Pear include() statements

From: Date: Fri, 07 Jan 2005 05:50:11 +0000
Subject: Re: Problem with inner Pear include() statements
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16763@lists.php.net to get a copy of this message
Greg Beaver wrote:
Hugues Peeters wrote:
Joe Stump wrote:
I did the same thing, but I just added PEAR_LIB_PATH (or whatever you use) to the include_path using ini_get() and ini_set().
Thanks for your fast answer Joe. I'll try that. But I still wonder if a lot user on shared hosting services are allowed to modify the php.ini settings on the fly ... Any idea ?
Most are able to, as this is not a real security threat. Users can't subvert anything that the OS already restricts using include.
this is why Stig added set_include_path() because some hosts disable ini_set(). iirc that was php 4.2 or maybe even earlier. regards, Lukas

« previous php.pear.general (#16763) next »