It is possible to use html to validate the file format simply by using the accept= method in the upload field. Below is an example that only accepts gif files and jpeg files:
<input name="Upload Saved Replay" type="file" accept="image/gif, image/jpeg"/>
Last edited by cwarn23; Apr 30th, 2009 at 5:45 am.
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
Offline 3,004 posts
since Sep 2007