Posted by John Nichel on 10/04/10 11:13
Joseph Connolly wrote:
> 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@kegworks.com
[Back to original message]
|