You are here:Home arrow Zend Framework & PHP arrow RapidPHP
  • Narrow screen resolution
  • Wide screen resolution
  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • green color
  • blue color

RapidPHP

RapidPHP is a companion library for Zend Framework. It is under active development and will feature a number of unique components that ease development of your projects

Getting MIME of remote file with Zend Framework

Friday, 09 April 2010
If you ever need to get content type of remote file from within PHP, this class will come in handy. Supposing you need to check external link if it is an mp3 file. You will be able to do this: $sniffer = new Smartycode_Http_Mime();
$contentType = $sniffer->getMime($url);
if('audio/mpeg3' == $contentType) echo 'It is MP3';
Last Updated ( Friday, 09 April 2010 )

How to Download

Wednesday, 30 December 2009
This is placeholder