Common file extensions - how many can you think of?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Common file extensions - how many can you think of?

Post by Chris Corbyn »

I'm crowd-sourcing here, because 100 heads are better than 3 ;)

This is easy, all I want people to do is list as many "common" file extensions as they can think of. Please don't get obscure, just keep it to everyday file types. There's also no need to list the mime-type, just the extension(s) that are used.

This is for Swift Mailer and the list needs to be kept reasonably short (as in, under 1000 or so) or it just gets silly. There will be a fallback so a user can override/specify the content-type manually, I just want some automation for the obvious types.

I'll start off with what I've got so far:

* JPEG/JPG
* PNG
* GIF
* BMP
* TIFF/TIF
* ZIP
* GZ
* BZ2
* MP3
* WMA
* OGG
* WAV
* MPEG/MPG
* MP4/M4V/M4A
* AVI
* MOV
* WMV
* MS DOC/DOCX
* MS XLS
* MS PPT
* RFC822/EML
* PDF
* PS
* HTML
* TXT
* XML
* EXE
* DMG
* ISO
* RAR
* TAR
* STUFFIT/SIT
* FLV
* PSD
* EPS
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Common file extensions - how many can you think of?

Post by John Cartwright »

Is .php common enough?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Common file extensions - how many can you think of?

Post by Chris Corbyn »

I guess... though I can't think of many everyday situations where you'd attach one to an email :)

My list must have been pretty good! VCARD/VFC is another I can think of.

EDIT | and CSV
robincanaday
Forum Newbie
Posts: 14
Joined: Thu Nov 20, 2008 12:25 am
Location: Portland Oregon USA

Re: Common file extensions - how many can you think of?

Post by robincanaday »

.CDR
.TTF (and other font file extensions)
.AI
.ODS (and other Open Office extensions)

I'm mostly thinking in terms of files commonly sent for graphic design...
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Common file extensions - how many can you think of?

Post by VladSun »

RTF
HTML/HTM
VBS,JS,REG,DLL :twisted: :twisted: :twisted:
SQL
JAR
MDB
LOG
CONF
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Common file extensions - how many can you think of?

Post by John Cartwright »

Chris Corbyn wrote:I guess... though I can't think of many everyday situations where you'd attach one to an email :)

My list must have been pretty good! VCARD/VFC is another I can think of.

EDIT | and CSV
Sorry, I didn't make it obviously sarcastic. :) The list looks pretty good. I couldn't come up with any other obvious ones.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Common file extensions - how many can you think of?

Post by alex.barylski »

User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Common file extensions - how many can you think of?

Post by Chris Corbyn »

Thanks guys, I think I've got enough now :) This is a config file so it can be added to with ease.

Code: Select all

array(
  'aif'  => 'audio/x-aiff',
  'aiff' => 'audio/x-aiff',
  'avi'  => 'video/avi',
  'bmp'  => 'image/bmp',
  'bz2'  => 'application/x-bz2',
  'csv'  => 'text/csv',
  'dmg'  => 'application/x-apple-diskimage',
  'doc'  => 'application/msword',
  'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
  'eml'  => 'message/rfc822',
  'aps'  => 'application/postscript',
  'exe'  => 'application/x-ms-dos-executable',
  'flv'  => 'video/x-flv',
  'gif'  => 'image/gif',
  'gz'   => 'application/x-gzip',
  'hqx'  => 'application/stuffit',
  'htm'  => 'text/html',
  'html' => 'text/html',
  'jar'  => 'application/x-java-archive',
  'jpeg' => 'image/jpeg',
  'jpg'  => 'image/jpeg',
  'm3u'  => 'audio/x-mpegurl',
  'm4a'  => 'audio/mp4',
  'mdb'  => 'application/x-msaccess',
  'mid'  => 'audio/midi',
  'midi' => 'audio/midi',
  'mov'  => 'video/quicktime',
  'mp3'  => 'audio/mpeg',
  'mp4'  => 'video/mp4',
  'mpeg' => 'video/mpeg',
  'mpg'  => 'video/mpeg',
  'odg'  => 'vnd.oasis.opendocument.graphics',
  'odp'  => 'vnd.oasis.opendocument.presentation',
  'odt'  => 'vnd.oasis.opendocument.text',
  'ods'  => 'vnd.oasis.opendocument.spreadsheet',
  'ogg'  => 'audio/ogg',
  'pdf'  => 'application/pdf',
  'png'  => 'image/png',
  'ppt'  => 'application/vnd.ms-powerpoint',
  'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
  'ps'   => 'application/postscript',
  'rar'  => 'application/x-rar-compressed',
  'rtf'  => 'application/rtf',
  'tar'  => 'application/x-tar',
  'sit'  => 'application/x-stuffit',
  'svg'  => 'image/svg+xml',
  'tif'  => 'image/tiff',
  'tiff' => 'image/tiff',
  'ttf'  => 'application/x-font-truetype',
  'txt'  => 'text/plain',
  'vcf'  => 'text/x-vcard',
  'wav'  => 'audio/wav',
  'wma'  => 'audio/x-ms-wma',
  'wmv'  => 'audio/x-ms-wmv',
  'xls'  => 'application/excel',
  'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
  'xml'  => 'application/xml',
  'zip'  => 'application/zip'
);
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Common file extensions - how many can you think of?

Post by josh »

.flac
.psd
.fla
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Common file extensions - how many can you think of?

Post by Eran »

.msi
.ini
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Common file extensions - how many can you think of?

Post by josh »

Let's turn this into a drinking game :twisted: Take turns naming file extensions, if you can't think of one take 1 shot, if you say one thats already been said take 2 shots... hahah
Post Reply