-
Upload Files, but jpeg Only
I want to make a form that contain an upload form. And i want to upload an image to server (I'm using PHP). But I want, if user browse the file on filetype it show Jpeg, jpg files (commonly it is "All Files").
Thanx For your help
-
-
I'm not sure if that's even possible.
You can choose which filetypes will be allowed using php, and you can make a note on your page.
Even if you can select which are allowed in the browse window, like some programs do, the user can still click the dropdown and choose "all types", like in those programs. So... might help them, but wouldn't prevent them from choosing those.
Might help; if there's a script for it.
I'd just google "input file" (like <input type="file">) and see if there's any attributes like that. It wouldn't be a javascript thing, I don't think.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks