To help keep people from having trouble with uploads
failing that are larger than what is allowed by the php.ini
file I suggest you add the following code to display the
max upload file size. [Attached]
While you can't warn people that the file they are
uploading is larger (and keep them from trying) at least
you can tell them the theoretical largest file that could
be uploaded.
Sample Code attached was graciously borrowed from the
GPL SquirrelMail project http://www.squirrelmail.org/ .
Thanks for your great software!
Sam
max allowed upload example code