Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-09-01 Thread Ben Dunlap
Safe mode is a bad idea. :) It's not safe; it may only have the effect of making you think you're safe. If you have a particular reason to use it then maybe it's OK, but just be aware that it will not exist in future versions of PHP and relying on it is not a good idea. Security,

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Nico Sabbi
Lars Torben Wilson ha scritto: Hi Nico, First the obligatory safe_mode is deprecated and not recommended speech. . .but I guess you've already seen that in the docs and decided to use it anyway. I read it, but I don't know if I have to interpret it as php6 wil only work in safe mode or

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Nico Sabbi
Lars Torben Wilson ha scritto: 2009/8/28 Nico Sabbi nsa...@officinedigitali.it: Hi, I'm testing one of my sites in safe_mode, but I'm experiencing some strangeness that is not documented. The settings are: in php.ini: include_path =

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread hack988 hack988
Please create a file(.php) and write follow codes for more details. ?php phpinfo(); ? 2009/8/31 Nico Sabbi nsa...@officinedigitali.it: Lars Torben Wilson ha scritto: 2009/8/28 Nico Sabbi nsa...@officinedigitali.it: Hi, I'm testing one

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Lars Torben Wilson
2009/8/31 Nico Sabbi nsa...@officinedigitali.it: Lars Torben Wilson ha scritto: Hi Nico, First the obligatory safe_mode is deprecated and not recommended speech. . .but I guess you've already seen that in the docs and decided to use it anyway. I read it, but I don't know if I have to

[PHP] safe_mode and inclusion of files don't work as documented

2009-08-28 Thread Nico Sabbi
Hi, I'm testing one of my sites in safe_mode, but I'm experiencing some strangeness that is not documented. The settings are: in php.ini: include_path = .:/server/home/apache/php4/:/var/php/5.2/pear/:/usr/php/lib/ezcomponents-2008.2.2/ in the virtualhost config: php_admin_value safe_mode

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-28 Thread hack988 hack988
add this php_admin_value open_basedir 2009/8/28 Nico Sabbi nsa...@officinedigitali.it: Hi, I'm testing one of my sites in safe_mode, but I'm experiencing some strangeness that is not documented. The settings are: in php.ini: include_path =

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-28 Thread Nico Sabbi
hack988 hack988 ha scritto: add this php_admin_value open_basedir done, but it doesn't make a difference: php_admin_value open_basedir /server/home/nsabbi:/server/home/apache/php4:.:.. *Fatal error*: require_once() [function.require http://nsabbi/login/function.require]: Failed opening

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-28 Thread Lars Torben Wilson
2009/8/28 Nico Sabbi nsa...@officinedigitali.it: Hi, I'm testing one of my sites in safe_mode, but I'm experiencing some strangeness that is not documented. The settings are: in php.ini: include_path = .:/server/home/apache/php4/:/var/php/5.2/pear/:/usr/php/lib/ezcomponents-2008.2.2/ in