I though you could limit it in the php.ini file. OR, you can determine it's length through php and then discard it. I remember reading something about limiting file size and overidding that limit in the script. If i find it i will post it here.
You can limit it with PHP. However, for php to determine the filesize and check it against the limit, the file has to be uploaded first, ie on the server. The OP wants to check the filesize while it's still on the client machine, and PHP can't do that.
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@xxxxxxxxxxxx
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php