From bb991733fed0aca60ef1b7a624348b5463390f32 Mon Sep 17 00:00:00 2001 From: Sander Roobol Date: Wed, 27 Feb 2002 17:26:20 +0000 Subject: [PATCH] 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 --- functions/filesystem.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 1f43874bf7..6790ac4679 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -1,5 +1,5 @@ - + Filesystem functions Filesystem @@ -2137,8 +2137,15 @@ mkdir ("/path/to/my/dir", 0700); system. - ¬e.sm.uidcheck; - + + + move_uploaded_file is not affected by the normal + safe-mode UID-restrictions. This is not unsafe because + move_uploaded_file only operates on files uploaded + via PHP. + + + If the destination file already exists, it will be overwritten.