move_uploaded_file() works fine with safe-mode on (#13686)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@71081 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sander Roobol 2002-02-27 17:26:20 +00:00
parent e87b06e9dd
commit bb991733fe

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.123 $ -->
<!-- $Revision: 1.124 $ -->
<reference id="ref.filesystem">
<title>Filesystem functions</title>
<titleabbrev>Filesystem</titleabbrev>
@ -2137,8 +2137,15 @@ mkdir ("/path/to/my/dir", 0700);
system.
</para>
&note.sm.uidcheck;
<note>
<para>
<function>move_uploaded_file</function> is not affected by the normal
safe-mode UID-restrictions. This is not unsafe because
<function>move_uploaded_file</function> only operates on files uploaded
via PHP.
</para>
</note>
<warning>
<para>
If the destination file already exists, it will be overwritten.