SteveP
12-06-2003, 11:00 AM
I've got a HTML FORM/PHP script that happily uploads user files to a mySQL database. I've limited the filesize (in bytes) within the form. However, the first the user knows they have tried to upload an oversize file is when they get an error message via PHP to say that the file has not uploaded.
I'd like to be able to validate the filesize (probably in JS) so that users are told early on that they are trying to upload a file that is too big.
Anyone any ideas.
Thanks
I'd like to be able to validate the filesize (probably in JS) so that users are told early on that they are trying to upload a file that is too big.
Anyone any ideas.
Thanks