Voting

Please answer this simple SPAM challenge: seven minus three?
(Example: nine)

The Note You're Voting On

zebz at ihaveenoughspam_hotmail dot com
14 years ago
All the filesystem-related functions (unlink, fopen, unlink, etc) seems to be restricted the same way in safe mode, at least on PHP 4.2. If the file UID is different *but* the directory (where the file is located) UID is the same, it will work.

So creating a directory in safe mode is usually a bad idea since the UID will be different from the script (it will be the apache UID) so it won't be possible to do anything with the files created on this directory.

<< Back to user notes page

To Top