[imp] problem with mime_mapping.
Frederic Trudeau
ftrudeau@cam.org
Fri, 23 Aug 2002 17:43:12 -0400
This is a multi-part message in MIME format.
---------------------- multipart/alternative attachment
Greetings.
I just send a RPM package in attachment to test mime drivers + mapping.=20
There seams to be a little bug with RPM mime mapping/drivers.=20
Even if I change the array to reflect the correct type of a RPM file, I =
still get "audio/x-pn-realaudio-plugin" in IMP :
$mime_extension_map =3D array(
...
'rpm' =3D> 'application/x-rpm',
...
);
Where did I go wrong ?
Thanks
---------------------------------------------------
Frederic Trudeau
PHP Coder, Colocation, Development
ftrudeau@cam.org
514.529.3000 ext. 246
---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4915.500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Greetings.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I just send a RPM package in attachment =
to test=20
mime drivers + mapping. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>There seams to be a little bug with RPM =
mime=20
mapping/drivers. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Even if I change the array to reflect =
the correct=20
type of a RPM file, I still get "<FONT face=3D"Times New Roman"=20
size=3D3>audio/x-pn-realaudio-plugin" in IMP :</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>$mime_extension_map =3D =
array(</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
'rpm' =3D>=20
'application/x-rpm',</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>);</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Where did I go wrong ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2><BR>---------------------------------------------------<BR>Frede=
ric=20
Trudeau<BR>PHP Coder, Colocation, Development<BR><A=20
href=3D"mailto:ftrudeau@cam.org">ftrudeau@cam.org</A><BR>514.529.3000 =
ext.=20
246</FONT></DIV></BODY></HTML>
---------------------- multipart/alternative attachment--