DNforum.com - Domain Sales, Domain Forum, Domain Appraisals
 
Register Now! Welcome to Dnforum.com You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast and simple so please, join our community today! If you have any problems with the registration process or your account login, please contact us.
Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Reply
 
LinkBack Thread Tools Display Modes
Old 10-07-2007, 09:52 PM   #1 (permalink)
Platinum Lifetime Member
 
Last Online: 02-19-2008 03:16 PM
iTrader: (5)
Join Date: Dec 2006
Posts: 206
DNF$: 260
Location: Virginia
Country:


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?
twells22 is offline   Reply With Quote
Old 10-07-2007, 09:55 PM   #2 (permalink)
Evolve your business
 
Acroplex's Avatar
 
Last Online: Today 12:54 AM
iTrader: (348)
Join Date: Feb 2004
Posts: 17,375
DNF$: 11,491
Location: Universal Citizen
Country:


Here's some info from Bill's break room.
__________________

Acroplex.com Professional Web & Graphics development
Acroplex is online now   Reply With Quote
Old 10-12-2007, 12:11 PM   #3 (permalink)
Platinum Lifetime Member
 
Last Online: 12-28-2007 07:15 PM
iTrader: (0)
Join Date: May 2007
Posts: 2
DNF$: 100
Location: Las Vegas
Country:


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
bjsmooths is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:01 AM.
Copyright @2001-2008 DNForum.com

Learn Domains
Promote Domains
Research Domains
Buy Domains
Resell Domains
Park Domains
Sell Domains
Build Domains
Host Domains
Trademark Domains
Domain Domains
manage Domains
Appraise Domains