Did you edit the right php.ini? Check out phpinfo() output for "Configuration File (php.ini) Path"

Chris Blake wrote:

On Wed, 2003-10-08 at 13:56, David Otton wrote:


However, is there any reason you're not using readdir()?

http://uk.php.net/manual/en/function.readdir.php


I`ve got a whole bunch of other stuff happening using shell_exec, eg
file searches etc....

I changed php.ini entry for safemode=on , restarted Apache, but that
didn`t help.....opendir() returns the following :

=========

Warning: opendir() [function.opendir]: SAFE MODE Restriction in effect.
The script whose uid is 0 is not allowed to access /home owned by uid 0
in /var/www/html/backups.php on line 8

Warning: opendir(/home/chris/PBPCBackup/) [function.opendir]: failed to
open dir: No such file or directory in /var/www/html/backups.php on line
8

=========

I got this error as well prior to changing the safe mode parameter...

Still lost, but searching :(



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to