Is it possible

See all posts See thread Reply

Re: Is it possible new!
by colin, 11 years, 9 months ago
You need to do that on the client side, although you will need to trust the client.

On traditional upload forms, you can use MAX_FILE_SIZE:
< input type="hidden" name="MAX_FILE_SIZE" value="500" />

But if you use XMLHttpRequest (the last version of the class supports this), you can check the size via JS.Reply