Sponsorised links
April 2008
simple blog » Blog Archive » pérserver le type mime d’un fichier uploadé via l’admin generator de symfony
Cela permet d’avoir un formulaire d’upload avec une checkbox pour la suppression du fichier. Si le fichier est nouveau un nom aléatoire lui sera attribué, sinon il remplacera l’ancienne version du fichier et ce sans écrire une ligne de code.
January 2007
Sending XHTML as text/html Considered Harmful
A number of problems resulting from the use of the text/html MIME type
in conjunction with XHTML content are discussed. It is suggested that
XHTML delivered as text/html is broken and XHTML delivered as text/xml
is risky, so authors intending their work for public consumption
should stick to HTML 4.01, and authors who wish to use XHTML should
deliver their markup as application/xhtml+xml.
July 2006
1
(3 marks)
