Hi all,
I'm using the FILE type input: <input type="file"> and I want to filter the files so the users can browse only and only the JPEG files (*.jpg) ... Is this possible?
What language will handle the file on the server side?
I use ColdFusion and this will allow only certain file types if specified. You will need to do this on the server side as you can't forbid on the client side when browsing. You may be able to use javascript to check the value of the input onSubmit of the form. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
Check the cfm and javascript forums. There are is a lot of info how to check client side rather than waiting till it hits the server. but this is a great fall back. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.