Reply to Re: Huge files

Re: Huge files new!
by Bruce, 16 years, 1 month ago
This is certainly very useful information for those of us new to uploading. Thanks for the reply.

And I've also learned that the file size checking can happen both server and client side. The class upload demo only checks AFTER the file has been uploaded, thus leaving things open to crashing on really big files upon running out of PHP memory. I've learned you can also do some simple non-JS client side checking by putting a hidden input html before the "file" input html:
<input name="MAX_FILE_SIZE" value="150000" type="hidden" />
This will stop the upload client-side, and I would think was an essential part of any upload form.

It is so hard to find all these little details by simply reading documentation.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important