...

View Full Version : $uploaded_type



Ludatha
03-08-2008, 05:19 PM
Quick question :)


$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:


if (!($uploaded_type=="type1",$uploaded_type=="type2")) {
$ok=0;
}

is that right?

rafiki
03-08-2008, 05:22 PM
read this article on MIME TYPES (http://www.w3schools.com/media/media_mimeref.asp)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum