image file size
Hey Ray
How would you go about stopping a user from being able to upload a file that is larger than, for example, 2mb in size on the attached page?
Cheers
Hey Ray
How would you go about stopping a user from being able to upload a file that is larger than, for example, 2mb in size on the attached page?
Cheers
You could use server validation to validate the file size after it has been uploaded, and delete it if it is too large, but actually blocking the upload is difficult. You could set the max_file_upload in the php.ini to 2M and they couldn't even upload the file in the first place (it will behave as if the field was blank).
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.