SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Mime types

  1. #1
    SitePoint Addict KJedi's Avatar
    Join Date
    Sep 2005
    Location
    Ukraine, Nikolaev
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Mime types

    I want to control types of data that is uploaded to my server. I want to allow uploads of images, rar and zip archives. And the problem is that I don't know mime type for rar archive. Here is my current list:
    Code:
    'image/jpg', 
     'image/jpeg', 
     'image/png', 
     'image/gif', 
     'image/jp2',
     'image/tiff', 
     'image/jpx', 
     'image/jpm',
     'application/zip'
    What is mime for *.rar?

  2. #2
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    greenville
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    application/x-rar-compressed

  3. #3
    SitePoint Addict KJedi's Avatar
    Join Date
    Sep 2005
    Location
    Ukraine, Nikolaev
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking

    Thanks a lot!

  4. #4
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    greenville
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no problem ^_^

  5. #5
    SitePoint Addict
    Join Date
    Feb 2003
    Location
    Berlin
    Posts
    370
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •