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

2001-08-30 Thread
From: christopher johnson <[EMAIL PROTECTED]> Date: Thu, Aug 30, 2001 at 12:47:00PM -0500 Message-ID: <[EMAIL PROTECTED]> Subject: [PHP] file upload size, before upload complete > Can anyone think of a way to determine the file size of what the user is > uploading before it has been fully upload

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

2001-08-30 Thread Joseph Bannon
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