Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: $uploaded_type

  1. #1
    Regular Coder Ludatha's Avatar
    Join Date
    Jan 2008
    Posts
    250
    Thanks
    51
    Thanked 5 Times in 5 Posts

    $uploaded_type

    Quick question

    PHP Code:
    $uploaded_type=="image/gif" 
    That is for GIF, could someone please tell me what these are:

    JPG / JPEG
    MP3
    MP4
    SWF
    FLV

    also how do I use 2 or more in the same thing:

    PHP Code:
    if (!($uploaded_type=="type1",$uploaded_type=="type2")) {
    $ok=0;

    is that right?

  • #2
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts
    read this article on MIME TYPES


  •  

    Posting Permissions

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