note 77948 added to function.move-uploaded-file
| From: | TheDarkestDay at yahoo dot com dot au | Date: | Fri, 21 Sep 2007 02:21:20 +0000 |
| Subject: | note 77948 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130647@lists.php.net to get a copy of this message | ||
To:
dev at asp55-ns dot com
You never check if file_exists ( $uploadfile . $n ), only if file_exists ( $uploadfile ), which if
it does, will throw it into an infinite loop ;)
----
Server IP: 69.147.83.197
Probable Submitter: 65.0.169.46
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/77948
Del: integrated -- https://master.php.net/note/delete/77948/integrated
Del: useless -- https://master.php.net/note/delete/77948/useless
Del: bad code -- https://master.php.net/note/delete/77948/bad+code
Del: spam -- https://master.php.net/note/delete/77948/spam
Del: non-english -- https://master.php.net/note/delete/77948/non-english
Del: in docs -- https://master.php.net/note/delete/77948/in+docs
Del: other reasons-- https://master.php.net/note/delete/77948
Reject -- https://master.php.net/note/reject/77948
Search -- https://master.php.net/manage/user-notes.php