Bug #13686: move_uploaded_file() and Safe Mode

From: Date: Tue, 16 Oct 2001 09:07:51 +0000
Subject: Bug #13686: move_uploaded_file() and Safe Mode
Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-68020@lists.php.net to get a copy of this message
From: mark.page@diva-net.com Operating system: UNIX PHP version: 4.0.4pl1 PHP Bug Type: Documentation problem Bug description: move_uploaded_file() and Safe Mode I have been constructing a site on a webspace with Safe Mode On, and am able to successfully use move_uploaded_file with a posted file. The documentation on this function implies that UIDs must match between a script and the file it reads. In my case, the script's UID is 605, and the temporary file's is 0 and yet the function behaves perfectly. Perhaps the documentation should be revised accordingly? This is excellent in the sense that I needed some way of retrieving this data with safe mode on, but (to my limited understanding) seems to undermine the safe mode principle of UID restriction. -- Edit bug report at: http://bugs.php.net/?id=13686&edit=1

« previous php.dev (#68020) next »