Email Standards Project
Tables and spacer GIFs bad. CSS good.
http://www.email-standards.org
Tables and spacer GIFs bad. CSS good.
http://www.email-standards.org
I just ran into a nasty issue when uploading MP3 files with the CodeIgniter PHP framework. Apparently an MP3 can either be ‘audio/mpeg’ or ‘audio/mpg’. CodeIgniter is only set to accept ‘audio/mpeg’; OS X seems to use ‘audio/mpg’.
This can be fixed by editing the mimes.php file located in:
system/application/config/mimes.php
Search for the line:
'mp3' => 'audio/mpeg'
And replace it with this:
'mp3' => array('audio/mpeg', 'audio/mpg')
Jerry Nummi is a web designer working in Columbus, Ohio with the great Ruby hackers at EdgeCase. You can follow him on Twitter and Flickr. You can also check out his sweet side projects Expo and JoeMetric.