Upload Filter | JavaScriptSource

Upload Filter

Shauna ArjoGod Sep 9, 2000
Allowing visitors to upload files through web forms on your site is useful, but how do you limit the types of files they can upload? This script only allows visitors to upload files that end with the file extensions you want, such as .gif and .jpg, etc. Easy!
Please upload only images that end in:

The JavaScript Source: Forms: Upload Filter

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

1 comment)

Thank you for the code its works fine, with the exception of the submit button. How can i make it to send me the submitted info of the visitor to my site?

horacio vazquez Aug 8, 2012