php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #13686 move_uploaded_file() and Safe Mode
Submitted: 2001-10-16 05:07 UTC Modified: 2002-02-27 12:26 UTC
From: mark dot page at diva-net dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.4pl1 OS: UNIX
Private report: No CVE-ID: None
 [2001-10-16 05:07 UTC] mark dot page at diva-net dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-27 12:26 UTC] sander@php.net
This bug has been fixed in CVS.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 23:00:03 2025 UTC