uid check by file_exists
Posted: Tue Jan 07, 2003 11:00 am
Hello,
I've just installed PHP 4.3.0. The 4.0.6 was installed before. With the new version, in safe mode, the 'file_exists' function produce this warning:
Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 302 is not allowed to access /full/path/to/file.gif owned by uid 301 in /full/path/to/script.php on line 12
I did not have this problem with version 4.0.6.
Please help me!
Thank you,
Emmanuel.
I've just installed PHP 4.3.0. The 4.0.6 was installed before. With the new version, in safe mode, the 'file_exists' function produce this warning:
Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 302 is not allowed to access /full/path/to/file.gif owned by uid 301 in /full/path/to/script.php on line 12
I did not have this problem with version 4.0.6.
Please help me!
Thank you,
Emmanuel.