martindavey
Programmer
I have an input type=file in my form.
When the user selects a file, I want to check that it meets my criteria:
eg.
must be 150x150 pixels in size,
must be less than 150kb in size
must be gif/jpg/bmp/pcx/tif/png
must not exist already.
Ideally I would like to check these details on the client using javascript before submitting the form, but if that's not possible I would like to know how to check these details using asp.
When the user selects a file, I want to check that it meets my criteria:
eg.
must be 150x150 pixels in size,
must be less than 150kb in size
must be gif/jpg/bmp/pcx/tif/png
must not exist already.
Ideally I would like to check these details on the client using javascript before submitting the form, but if that's not possible I would like to know how to check these details using asp.