note 21085 deleted from features.safe-mode by cmb

From: Date: Tue, 13 Oct 2020 20:04:19 +0000
Subject: note 21085 deleted from features.safe-mode by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215588@lists.php.net to get a copy of this message
Note Submitter: zebz at ihaveenoughspam_hotmail dot com ---- 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.

« previous php.notes (#215588) next »