You need to check the following variables: $_FILES["userfile"]["tmp_name"]; $_FILES["userfile"]["size"]; $_FILES["userfile"]["name"]; $_FILES["userfile"]["type"];
Ciao Francesco ----- Original Message ----- From: "Kenneth Suralta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 10:49 AM Subject: [PHP] File upload??? > Hello everyone! =) > > Can anybody help me with file uploading with PHP??? > i tried uploading a file through... > > <form action="save_upload.php" method="post"> > <input type="file" name="userfile"> > <input type="submit"> > </form> > > but, in save_upload.php, there is no $HTTP_POST_VARS['userfile'], or > $HTTP_POST_VARS['userfile_name'], etc... > > Can anybody help me with this... > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php