Hi,
I've already set my include_path to /var/www/html and good :(
Best Regards,
Deckard
Richard Lynch wrote:
> On Fri, October 6, 2006 11:17 am, Deckard wrote:
>> I see now that only when the inclu function "has to scale up in the we
>> tree", it fails.
>>
>> For example:
>>
>> This works:
>> include_once("classes/database/dBInsert.php");
>>
>> This don't:
>> include_once('../adodb/adodb.inc.php');
>
> safe_mode and that other security restriction on what you can/can't
> include do this, I think...
>
> Which is probably hack to save you from somebody pushing
> '../../../../../etc/passwd' into:
> include $myfile;
> but so it goes.
>
> Meanwhile, back at the ranch, if you set include_path you'd be able to
> move on to something productive :-) :-) :-)
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php