Bug #31407: move_uploaded_file() documentation incohenrent

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@176925 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2005-01-11 01:12:58 +00:00
parent c052d20e04
commit 27f2d9134b

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.move-uploaded-file">
<refnamediv>
@ -38,13 +38,16 @@
contents to the user, or even to other users on the same
system.
</para>
&note.sm.uidcheck;
<note>
<note>
<para>
<function>move_uploaded_file</function> is not affected by the normal
&safemode; UID-restrictions. This is not unsafe because
<function>move_uploaded_file</function> only operates on files uploaded
via PHP.
<function>move_uploaded_file</function> is both &safemode;
and <link linkend="ini.open-basedir">open_basedir</link>
aware. However, restrictions are placed only on the
<parameter>destination</parameter> path as to allow the moving
of uploaded files in which <parameter>filename</parameter> may conflict
with such restrictions. <function>move_uploaded_file</function> ensures
the safety of this operation by allowing only those files uploaded
through PHP to be moved.
</para>
</note>
<warning>