PHP safe_mode and reading /etc/passwd file
| From: | Richard Kurth | Date: | Sat, 22 Sep 2001 23:38:46 +0000 |
| Subject: | PHP safe_mode and reading /etc/passwd file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68375@lists.php.net to get a copy of this message | ||
I have a little problem... I had to enable the PHP safe_mode, and
now I receive this error message when I try to read the passwd file
on the server :
Warning: SAFE MODE Restriction in effect. The script whose uid is
110 is not allowed to access /etc/passwd owned by uid 0 in
/home/sites/home/inc/function.inc on line 462
Warning: file("/etc/passwd") - Success in
/home/sites/home/inc/function.inc on line 462
Best regards,
Richard
mailto:rkurth@pacifier.com