17 useful htaccess tips and tricks - http://www.queness.com/post/5421/17-useful-htaccess-tricks-and-tips
How to get all social media members count by using php
- Feedburner
- Delicious
It grab the total number of twitter followers, feedburner subscribers and also delicious bookmarks of your account/website.
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//Grab Twitter$username = 'quenesswebblog'; /* Twitter username */$xml = file_get_contents ( $api_page );$profile = new SimpleXMLElement ( $xml );$count = $profile->followers_count;$data['twitter'] = $count;//Grab Feedburners$username = 'queness'; /* feedburner feed name */$xml = file_get_contents ( $api_page );$profile = new SimpleXmlElement($xml, LIBXML_NOCDATA);$rsscount = (string) $profile->feed->entry['circulation'];$data['rss'] = $rsscount; //Grab Delicious$url = 'www.queness.com'; /* url */$json = file_get_contents ( $api_page );$json_output = json_decode($json, true); $data['delicious'] = $json_output[0]['total_posts']; print_r($data); |
BB Code to HTML Parser with PHP – http://www.queness.com/code-snippet/6299/bb-code-to-html-parser-with-php
Get users’ IP Address with PHP – http://www.queness.com/code-snippet/6295/get-users-ip-address-with-php
Php tips and tricks pdf - http://www.onlinefreeebooks.net/download/441/php-tips-and-tricks.pdf