Jump to content

Archived

This topic is now archived and is closed to further replies.

glenelkins

Upload File Types Testing

Recommended Posts

Hi

How would i test an uploaded file (Eg if($swfFile['type'] == "image/gif") for a flash ".SWF" format?

Share this post


Link to post
Share on other sites
the MIME type for .swf is application/x-shockwave-flash

[code]if($swfFile['type'] == "application/x-shockwave-flash")[/code]

check out:
http://www.webmaster-toolkit.com/mime-types.shtml
for a list of all MIME types

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.