mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
e87b06e9dd
commit
bb991733fe
1 changed files with 10 additions and 3 deletions
|
@ -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>
|
||||
|
||||
¬e.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.
|
||||
|
|
Loading…
Reference in a new issue