RE: [PHP] file upload size, before upload complete

From: Date: Thu, 30 Aug 2001 17:32:22 +0000
Subject: RE: [PHP] file upload size, before upload complete
Groups: php.general 
Request: Send a blank email to php-general+get-65349@lists.php.net to get a copy of this message
Yes, I use to do this with my site. # The original name of the file on the client machine. $filename = $HTTP_POST_FILES['file']['name']; # The mime type of the file, if the browser provided this information. An example would be "image/gif". $filetype = $HTTP_POST_FILES['file']['type']; # The size, in bytes, of the uploaded file. $filesize = $HTTP_POST_FILES['file']['size']; # The temporary filename of the file in which the uploaded file was stored on the server. $filetemp = $HTTP_POST_FILES['file']['tmp_name'];

« previous php.general (#65349) next »