Restrict File Types for Upload
Posted: Fri Apr 09, 2010 8:34 pm
How to restrcit selections of files for upload - client / browser side?
The attribute accept="image/jpeg" doesn't seem to have any effect in file tag of HTML.
Note: I am using HTML and PHP only and am not familiar with Ajax or any other such tools. I want users to be able to browse and select only image (.jpg) files.
The attribute accept="image/jpeg" doesn't seem to have any effect in file tag of HTML.
Note: I am using HTML and PHP only and am not familiar with Ajax or any other such tools. I want users to be able to browse and select only image (.jpg) files.