Trapping for an uploaded file that's too large?

From: Date: Thu, 20 Oct 2005 23:29:51 +0000
Subject: Trapping for an uploaded file that's too large?
Groups: php.general 
Request: Send a blank email to php-general+get-224372@lists.php.net to get a copy of this message
In my File Upload form, if the file is >=2MB, the user just gets a blank "error opening file" screen, almost immediately after the upload starts. I don't know how to trap for this to give a more user-friendly experience. Can anyone point me in the right direction?

« previous php.general (#224372) next »