Hiya guys, I’m new here and have carried out the site instructions. Search for an answer before buggin’ us! No, seriously, I just wanted to see if anyone can suggest an update on a 2003 post here re: checking a file size prior to upload, thus eliminating the server round-trip before telling the user his file is too large.
I am building a site that will include both textual data (a user text upload file) and a MySQL database connection, and a directory full of images. The user will more or less design his own site then. However, I would like to be able to check a file size before it gets uploaded, especially useful if we are talking about a large image.
I know that I can do all the usual tests on the temp file in PHP before it’s admitted. But is there a way using Client-Side Javascript?
Thanks for any help and light you might shed on this.