note 11349 added to Common Pitfalls

From: Date: Fri, 16 Feb 2001 22:53:24 +0000
Subject: note 11349 added to Common Pitfalls
Groups: php.notes 
Request: Send a blank email to php-notes+get-11158@lists.php.net to get a copy of this message
Phew... It helps to read closely! Here's one thing that had me boggled for about an hour or two: When using $HTTP_POST_FILES make sure that you grab 'tmp_name' instead of just 'name'. ie: $HTTP_POST_FILES['userfile']['tmp_name'] Otherwise, you'll spend a lot of time trying to track down the cause of the 'No such file or directory' warning..... Good luck guys! Also, you don't need to do the uploadfile[] array thingy to upload multiple files. Just give them different names... I did it and it works great. -Chicken http://www.php.net/manual/en/features.file-upload.common-pitfalls.php

« previous php.notes (#11158) next »