note 74333 added to features.file-upload.errors

From: Date: Fri, 06 Apr 2007 01:08:31 +0000
Subject: note 74333 added to features.file-upload.errors
Groups: php.notes 
Request: Send a blank email to php-notes+get-125129@lists.php.net to get a copy of this message
For a multifile upload try this: <?php foreach($_FILES as $file) { if($file['error'] == 0 && $file['size'] > 0) { move_uploaded_file($file['tmp_name'], $targetdir.$file['name']); } } ?> ---- Server IP: 212.124.37.9 Probable Submitter: 84.146.79.146 ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.errors.php Edit -- https://master.php.net/note/edit/74333 Del: integrated -- https://master.php.net/note/delete/74333/integrated Del: useless -- https://master.php.net/note/delete/74333/useless Del: bad code -- https://master.php.net/note/delete/74333/bad+code Del: spam -- https://master.php.net/note/delete/74333/spam Del: non-english -- https://master.php.net/note/delete/74333/non-english Del: in docs -- https://master.php.net/note/delete/74333/in+docs Del: other reasons-- https://master.php.net/note/delete/74333 Reject -- https://master.php.net/note/reject/74333 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125129) next »