Seldom every php developer need some php url functions to work with , usually while parsing a web portal or finding the links url functions come very handy.
Here are URL based functionalities a developer may need .
1) Get the url of the portal:-
2) Parse the url for extracting all components:-
$url_demo = 'http://user:pass@host/path?arg=val';
Hope these handy code snippets would help you to save time for URL formatting in PHP.
Update:- Google launched the google circle social network as Google plus. API is still awaited. Updates will be coming as the API gets launched.
Google is launching there new social networking service “Google Circles”, this is rumored to offer photo sharing, video sharing and updates. Which can be tightly linked to other social networks and circles. This news was broken by Read Write web today from #sxsw.
We wonder where buzz will fit into this and since this will be google product we are very excited to see what API details it will offer. We promise our readers to update with every bit of details, when there API announcement comes out.
Youtube is a great API for finding relevant videos. Vimeo may had great community, but no one can challenge huge amount of videos and buzz youtube community generates.
For fetching youtube video,i have put down a very basic PHp class. It would help users to fetch videos via query or categories.
Complete code can be found at https://github.com/gauravtechie/youtube-api-php