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.
uid check by file_exists
Moderator: General Moderators
please read chapter 22. Safe Mode of the online manual.
http://www.php.net/manual/en/features.safe-mode.php
http://www.php.net/manual/en/features.safe-mode.php
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
this may have the answer your looking for: http://www.php.net/manual/en/features.s ... e-mode-gid
if you don't have access to the php.ini file then you might be able to use the ini_set() function.
if you don't have access to the php.ini file then you might be able to use the ini_set() function.