Similar Posts
Authorise.net payment sample code by API
authorize Download this file on your local and pass keys and test it on your server
The Legend Leader,A Great Saints Swami Vivekanand
Swami Vivekanand is a great Person of india who introduced india’s religion front of world and proved this india is a mater of all religion’s.He proved india is not country of black man, He was a true saint’s of india and true son of Bharat Mata, who dedicated all his life for india’s growth, he…
Get Duration By Youtube Video ID
<?php $vidID=”qCwAitjixMo”; //http://www.youtube.com/watch?v=voNEBqRZmBc $url = “http://gdata.youtube.com/feeds/api/videos/”. $vidID; $doc = new DOMDocument; $doc->load($url); $title = $doc->getElementsByTagName(“title”)->item(0)->nodeValue; $duration = $doc->getElementsByTagName(‘duration’)->item(0)->getAttribute(‘seconds’); print “TITLE: “.$title.”<br />”; print “Duration: “.$duration .”<br />”; ?>
CodeIgniter htaccess and URL rewrite issues
RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt)RewriteCond%{REQUEST_FILENAME}!-f RewriteCond%{REQUEST_FILENAME}!-d RewriteRule^(.*)$ index.php/$1 [L,QSA]
Images of youtube from id
http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg o is big image and others are thumbnails