input type="file" accept="image/gif"

Back to programmation.

*c523ae    (2009-04-22)
input type="file" accept="image/gif"


Dans un formulaire, je voudrais que mon utilisateur puisse envoyer un fichier d'un type précis (ici une image au format gif ou jpg), j'ai donc inclus le code suivant dans mon <form>

<input type="file" accept="image/gif">

Problème, mes navigateurs refusent de me limiter à ces types de fichiers au moment de choisir dans mes dossiers, c'est pourtant tout ce que j'ai trouvé sur le net.

Quelqu'un saurait pourquoi ça ne veut pas marcher comme ça ?

Merci d'avance.

(more options below)

*fudocu    (2013-11-08 14:02:44)
input type=&quot;file&quot; accept=&quot;image/g

Fantastic blog you have here but I was wondering if you knew of any community forums that cover the same topics discussed in this article? I'd really love to be a part of group where I can get feed-back from other experienced individuals that share the same interest. If you have any recommendations, please let me know. Cheers!
discounttomsshoes ht*p://

Voir aussi

Plus de sources

Vous devez vous enregistrer pour consulter ces sources, vous pourrez alors changer leur ordre en cliquant sur les icones les précédant.

Autres sources

Ce projet est collaboratif, vous pouvez remonter les sources suivantes dans la liste si vous les trouvez utiles.

 reset the Value for <input type="file" > ?!!!! - ASP.NET Forums
forums.asp > t/1108007.aspx
  1. Jessica Cao Sincerely, Microsoft Online Community Support “Please
 FishEye: file modx-components/eform/docs/eform_example_events.htm
svn.modxcms > crucible/browse/modx components/eform/docs/eform example

 Script PHP - File: File Upload - - Risorse per webmaster: php script, php, php scripts, php post, php programming, php website, upload ...
morpheusweb > html/scripts/php/file/file upload2.asp


You can not set a custom view class when using getPresentationFor()...

 Bug ID: 4089173 rfe: URLConnection - Write using POST Method
bugs.sun > bugdatabase/view id=4089173

You can use something like the following (from a JavaWorld article)...
Unless otherwise licensed, code in all technical manuals herein...

 Login Failed
my9.statcounter > project/standard/csv/download log file.php?project id=3126327&

 PHPXRef 0.6 : WordPress Subversion HEAD : /wp-includes/functions.php source
xref.redalt > wptrunk/wp includes/functions.php.source.htm

 'Problem crash with pages like Platform SH4' - MARC
lists.kde > ?l=konq e&m=118180117322494&w=2

 Using labelFunction to format cfgrid columns - AsFusion
asfusion > blog/entry/using labelfunction to format cfgrid

tag has given grief to those wanting to have a cfgrid column of type...
If you ever used cfgrid, you know that it accepts a query as its...
but in that case you are not using the query atttribute...

 PHPXRef 0.7 : WordPress : /wp-includes/functions.php source
phpxref.ftwr > wordpress/wp includes/functions.php.source

// Check to see if we can figure out the mime type...
// This determines what gets set and translated - we don't...

 hCard Validator
hcard.geekhood > ?url=http%3A//

 something is wrong with the page you tried to access ... sony ericsson : wrong, page, you, tried, something
experts exchange > Networking/Wireless/Standards/WAP/Q 22147973

text/x-vmessage, image/ems, audio/wav, audio/x-wav, audio/midi,...
riptor, application/java-archive, application/java,...

 Java Stream Audio - Java Grundlagen @ Forum, Tutorial, Anleitung, Schulung & Hilfe
tutorials > forum/java grundlagen/338657 java stream audio

 Help with Instant QuickReply & Enhanced QuickReply
simplemachines > community/index.php?topic=290010.0 GnuWin: Files
sourceforge > project/shownotes.php?release id=269086

 The Clipboard vulnerability demo
packetstormsecurity > 9901 exploits/cuartangojc clipboard msie.txt

The document below details a connection-reuse problem which...
persistent connections even when they have either 1) been...
disabled, or 2) have been told to close by a server...

 HLStats Remote SQL Injection Exploit -
webhostingtalk > bugtraq mailing lijst/109964 hlstats remote sql injection explo

ame_toggle_view({other : 'true',post : 'true',blog : 'true',group :...
Dit is een 'active topic' en daarom is dit bericht automatisch...

 PHP :: Content Type Save As Dialog [1] Appearing In Name??
bigresource > PHP Content Type save as dialog 1 appearing in name ktHKJl28

 Redo from start - ERROR [Archive] - QRZ Forums
forums.qrz > archive/index.php/t 104907

Arcsin(X) = Atn(X / Sqr(-X * X + 1)) Ive played around with this...
What I would do is accept the input as a STRING variable - bear with...

 Joom!Fish :: Multilingual support for Joomla! forum • Information
joomfish > forum/viewtopic.php?f=10&t=170&p=2891

 [forum] NERO recording software discount
xfree86 > pipermail/forum/2003 April/003367


Guest name   (option)     Register
Please sum : 1753 + nine  

Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
There's no trackback at the moment.