> If someone uploads a file via an HTML form, is there a way to check the > file > size before it's uploaded to the server?
You can set the MAX_FILE_SIZE in the hidden element of your form, but I don't think that stops the form from being submitted if the file size is too large. Basically, the file has to be uploaded before you can tell what size it is. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php