$acceptabletypes

From: Joker7 (sat_ring_at_hotmail.com)
Date: 02/28/05


Date: Mon, 28 Feb 2005 15:22:40 -0000


$acceptabletypes = array("image/jpg", "image/bmp",
"application/zip" ,"image/gif"
,"image/jpeg","text/plain","application/msword");

I'm using the above to control what can be
uploaded by and upload script,but for some reason
the MIME type image/jpg will not work.when the
script checks the MIME types it blocks image/jpg
but I have it in the acceptable types. Any
pointers all others work fine!

Chris

-- 
Never argue with an idiot. They will drag you down
to their level,and beat you with experience


Relevant Pages

  • Re: $acceptabletypes
    ... > uploaded by and upload script,but for some reason ... > the MIME type image/jpg will not work.when the ...
    (alt.php)
  • Re: CGI script works in IIS5 but not in IIS6
    ... Static File handler to set the Content type. ... "dynamic script file" (since you set up a script mapping and web service ... to the Python script, which is what you are supposed to do. ... But setting the MIME type is also not helping.. ...
    (microsoft.public.inetserver.iis)
  • Re: Magic for OpenOffice (file)
    ... only OO.org 1.1 declares its MIME type. ... The source of all this is a small python script I wrote that saves files ... attached in incoming emails and replaces the attachment with a ... This would let me utilize the already existing mailcap entries for files ...
    (Debian-User)
  • Re: New freelancer
    ... RFC 4329 says that "text/javascript" is an obsolete MIME type, ... Comments around script haven't been necessary for well over a decade. ... This chunk of Javascript has been inserted entirely for the benefit of ... even though rest of page does not support it. ...
    (alt.html)
  • Re: New freelancer
    ... RFC 4329 says that "text/javascript" is an obsolete MIME type, ... Comments around script haven't been necessary for well over a decade. ... This chunk of Javascript has been inserted entirely for the benefit of ... even though rest of page does not support it. ...
    (alt.html)