Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    Platinum Lifetime Member

    Join Date
    Dec 2006
    Location
    Virginia
    Posts
    218
    DNF$
    204
    Bank
    0
    Total DNF$
    204
    Donate  

    Coding question for video files?

    I have a social script that allows users to upload videos to their "album" but I am having trouble setting the allowed file extensions. If you can, tell me what to do to allow wmv files and avi files.

    Here is what the MIME section says:

    "To successfully upload a file, the file must have an allowed filetype extension as well as an allowed MIME type. This prevents users from disguising malicious files with a fake extension. Separate MIME types with commas, for example: image/jpeg, image/gif, image/png, image/bmp"

    Now this is what is in the field:

    "image/jpeg, image/pjpeg, image/jpg, image/jpe, image/pjpg, image/x-jpeg, x-jpg, image/gif, image/x-gif, image/png, image/x-png, image/bmp, audio/mpeg, video/mpeg, video/x-msvideo, video/quicktime, application/x-shockwave-flash, "

    What needs to be changed to allow avi and wmv video files?

  2. #2
    Bloody Hell
    Acro's Avatar
    Join Date
    Feb 2004
    Location
    USA
    Posts
    28,184
    Country

    Holy See
    DNF$
    15,464
    Bank
    0
    Total DNF$
    15,464
    Donate  
    Here's some info from Bill's break room.

    DomainGang.com - Digital Entertainment for Domainers
    Acroplex - Web & Graphics
    Acro.net - My Blog

  3. #3
    Platinum Lifetime Member

    Join Date
    May 2007
    Location
    Las Vegas
    Posts
    2
    DNF$
    15
    Bank
    0
    Total DNF$
    15
    Donate  

    Question

    Quote Originally Posted by twells22 View Post
    I have a social script that allows users to upload videos to their "album" but I am having trouble setting the allowed file extensions. If you can, tell me what to do to allow wmv files and avi files.

    Here is what the MIME section says:

    "To successfully upload a file, the file must have an allowed filetype extension as well as an allowed MIME type. This prevents users from disguising malicious files with a fake extension. Separate MIME types with commas, for example: image/jpeg, image/gif, image/png, image/bmp"

    Now this is what is in the field:

    "image/jpeg, image/pjpeg, image/jpg, image/jpe, image/pjpg, image/x-jpeg, x-jpg, image/gif, image/x-gif, image/png, image/x-png, image/bmp, audio/mpeg, video/mpeg, video/x-msvideo, video/quicktime, application/x-shockwave-flash, "

    What needs to be changed to allow avi and wmv video files?
    Are you Hosting on a Microsoft server or Linux server? I don't see the file extension for either avi or wmv, but that is just going by what you are showing me? If it is a microsoft server, there should be an acceptance of at least wmv files. Should be a file extension such as video/x-ms-wmv.

    Good luck

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
  •  

Domain name forum recommended by Domaining.com