<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4750375081644813691</atom:id><lastBuildDate>Thu, 19 Dec 2024 03:30:06 +0000</lastBuildDate><category>Browser notifications in php</category><category>Develop messenger api using php</category><category>FB chat using curl php</category><category>Facebook Messenger Api Using Curl PHP</category><category>Messenger</category><category>Messenger with php</category><category>Pushnotifications using curl php</category><category>Send Push Notification to Users Using Firebase Messaging Service in PHP FCM</category><category>find closest date using php</category><category>get nearest date from array of dates</category><category>save xml file to curl response using php</category><category>xml of curl</category><title>Knowledge Corner</title><description>                                                                 Srinu Chilukuri&#39;s</description><link>https://knowledgecornor.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>87</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-2971916258497753383</guid><pubDate>Thu, 22 Nov 2018 10:21:00 +0000</pubDate><atom:updated>2018-11-22T02:21:55.714-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">save xml file to curl response using php</category><category domain="http://www.blogger.com/atom/ns#">xml of curl</category><title>How to save responose of cURL to XML file</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;meta content=&quot;How to get closest date compared to an array of dates in PHP&quot; name=&quot;description&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot; /&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Here Explain about how to save response of curl to xml file, follow the snippet of code
&lt;/content&gt;
&lt;br/&gt;
&lt;pre&gt;
      $path = &quot;http://www.abc.com&quot;;
      $user_agent=&quot;Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36&quot;;

 $in_curl = curl_init();
 curl_setopt($in_curl, CURLOPT_URL, $path);
 curl_setopt($in_curl, CURLOPT_POST, 0);
 curl_setopt($in_curl, CURLOPT_RETURNTRANSFER, true);
 curl_setopt($in_curl, CURLOPT_HEADER, false);
 curl_setopt($in_curl, CURLOPT_USERAGENT,$user_agent);
 curl_setopt($in_curl, CURLOPT_CONNECTTIMEOUT , 30);
 curl_setopt($in_curl, CURLOPT_TIMEOUT, 5);
 curl_setopt($in_curl, CURLOPT_SSL_VERIFYPEER, false);# required for https urls
 
 $resultxml = curl_exec($in_curl);
 $status = curl_getinfo($in_curl);
 
 curl_close($session);

 if (file_put_contents (&#39;./responsedata.xml&#39;, $resultxml) !== false) {
      echo &#39;Success!&#39;;
 } else {
      echo &#39;Failed&#39;;
 }
&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>https://knowledgecornor.blogspot.com/2018/11/how-to-save-responose-of-curl-to-xml.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-69582494878439658</guid><pubDate>Sat, 24 Mar 2018 05:16:00 +0000</pubDate><atom:updated>2018-03-30T03:49:26.033-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Browser notifications in php</category><category domain="http://www.blogger.com/atom/ns#">Pushnotifications using curl php</category><category domain="http://www.blogger.com/atom/ns#">Send Push Notification to Users Using Firebase Messaging Service in PHP FCM</category><title>Send Push Notification to Users Using Firebase Messaging Service in PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;title&gt;Send Push Notification to Users Browser Using Firebase Messaging Service in PHP &lt;/title&gt;
&lt;meta content=&quot;Send Push Notification to Users Using Firebase Messaging Service in PHP&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinuchilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
   To Day I am Explain about how to send Push notifications using Firebase Cloud Messaging (FCM) in web application
FCM service is free of charge with some limitations. The size is limited to 2KB or 4KB depending on the type of data, and the message will be kept for default duration of 4 weeks before it gets deleted.
&lt;/content&gt;
&lt;br&gt;
&lt;content&gt;
&lt;b&gt;Browser Support:&lt;/b&gt; &lt;br&gt;
Chrome: 50+ &lt;br&gt;
Firefox: 44+ &lt;br&gt;
Opera Mobile: 37+ 
&lt;/content&gt;
&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2018/03/send-push-notification-to-users-using.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2018/03/send-push-notification-to-users-using.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLNphUyD-WgDN998Qh9PPAtMKfgwzzQc3y2Gs0ILoQiGsHfLbCAQrQhKd1LEEp-vScrt02uTrCmduBWmymAX94_DO8th0Bzwxg_EtAz8GDfNScSROo6oog4wNS9JpXm8xW-s2BI_r6zy1m/s72-c/Kc_Firebase+console1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-8610776342048391588</guid><pubDate>Thu, 14 Sep 2017 03:31:00 +0000</pubDate><atom:updated>2017-09-14T22:27:28.663-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">find closest date using php</category><category domain="http://www.blogger.com/atom/ns#">get nearest date from array of dates</category><title>How to get closest date compared to an array of dates in PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;meta content=&quot;How to get closest date compared to an array of dates in PHP&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Here Explain about how to find nearest date from any array of dates  &lt;br&gt;
Let&amp;#39;s say I have an array as follows:
&lt;/content&gt;
&lt;br&gt;
&lt;pre&gt;Array
(
    [0] =&amp;gt; 2017-09-14
    [1] =&amp;gt; 2017-09-15
    [2] =&amp;gt; 2017-09-16
    [3] =&amp;gt; 2017-09-17
    [4] =&amp;gt; 2017-09-18
    [5] =&amp;gt; 2017-09-19
)&lt;/pre&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2017/09/how-to-get-closest-date-compared-to.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2017/09/how-to-get-closest-date-compared-to.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-723364987246382555</guid><pubDate>Thu, 24 Aug 2017 07:00:00 +0000</pubDate><atom:updated>2017-08-24T00:00:27.431-07:00</atom:updated><title>File Size MB/KB/GB Conversion</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;meta name=&quot;description&quot;  content=&quot;File Size MB/KB/GB Conversion&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot; /&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
The File size conversion as per 
The size is less than 1 MB, show the size in KB, 
if it&#39;s between 1 MB - 1 GB show it in MB, 
if it&#39;s larger - in GB
&lt;/content&gt;
&lt;br&gt;
&lt;pre&gt;
&amp;lt;?php
    function fileSizeConversion($bytes)
    {
        if ($bytes &gt;= 1073741824)
        {
            $bytes = number_format($bytes / 1073741824, 2) . &#39; GB&#39;;
        }
        elseif ($bytes &gt;= 1048576)
        {
            $bytes = number_format($bytes / 1048576, 2) . &#39; MB&#39;;
        }
        elseif ($bytes &gt;= 1024)
        {
            $bytes = number_format($bytes / 1024, 2) . &#39; KB&#39;;
        }
        elseif ($bytes &gt; 1)
        {
            $bytes = $bytes . &#39; bytes&#39;;
        }
        elseif ($bytes == 1)
        {
            $bytes = $bytes . &#39; byte&#39;;
        }
        else
        {
            $bytes = &#39;0 bytes&#39;;
        }

        return $bytes;
    }

?&gt;
&lt;/pre&gt;

&lt;/div&gt;
</description><link>https://knowledgecornor.blogspot.com/2017/08/file-size-mbkbgb-conversion.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-1909257901999218789</guid><pubDate>Mon, 02 May 2016 14:09:00 +0000</pubDate><atom:updated>2016-05-03T04:39:10.352-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Develop messenger api using php</category><category domain="http://www.blogger.com/atom/ns#">Facebook Messenger Api Using Curl PHP</category><category domain="http://www.blogger.com/atom/ns#">FB chat using curl php</category><category domain="http://www.blogger.com/atom/ns#">Messenger</category><category domain="http://www.blogger.com/atom/ns#">Messenger with php</category><title>Facebook Messenger Bot Api Using Curl PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;meta name=&quot;description&quot;  content=&quot;Facebook Messenger Bot api with Curl and php&quot;  /&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;Develop messenger api using php, Facebook Messenger Api Using Curl PHP, FB chat using curl php, Messenger, Messenger with php&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot; /&gt;
How to integrate Facebook Messenger Bot api with Curl and php
You can find My article @PHPGANG &lt;/br&gt;&lt;/br&gt; &lt;b&gt;&lt;a href=&quot;http://www.phpgang.com/facebook-messenger-api-for-pages-using-curl-php_3929.html&quot; target=&quot;_blank&quot;&gt;Facebook Messenger API for Pages Using Curl PHP&lt;/a&gt;&lt;/b&gt;

&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2016/05/facebook-messenger-bot-api-using-curl.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-1967618049522524711</guid><pubDate>Thu, 10 Sep 2015 12:43:00 +0000</pubDate><atom:updated>2015-09-10T05:46:03.434-07:00</atom:updated><title>Get profile picture from facebook, twitter and gravatar</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;meta name=&quot;description&quot;  content=&quot;Get profile picture from facebook, twitter and gravatar&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
An useful resource for developer that requires profile images from various social network website. In this article you will learn how to get profile picture URL from Facebook, Twitter and Gravatar.
&lt;/content&gt;&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Get profile picture from facebook&lt;/b&gt;
&lt;br&gt;
&lt;content&gt;
Use following url to get facebook profile image. You have to replace &lt;id&gt; with user id or uname of facebook user, Get facebook ID from here &lt;a href=&quot;http://findmyfbid.com/&quot; target=&quot;_blank &quot;&gt;FB Id&lt;/a&gt;
&lt;/id&gt;&lt;/content&gt;
&lt;br&gt;
&lt;pre&gt; http://graph.facebook.com/&amp;lt;ID&amp;gt;/picture?type=&amp;lt;small|normal|album|large|square&amp;gt;&lt;/pre&gt;
&lt;b&gt;Eg:  &lt;/b&gt; &lt;a href=&quot;http://graph.facebook.com/100002342793491/picture?type=large&quot; target=&quot;_blank&quot;&gt; http://graph.facebook.com/100002342793491/picture?type=large &lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2015/09/get-profile-picture-from-facebook.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2015/09/get-profile-picture-from-facebook.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-4135657580208184015</guid><pubDate>Tue, 25 Aug 2015 06:43:00 +0000</pubDate><atom:updated>2015-08-24T23:43:43.366-07:00</atom:updated><title>Detecting Browser Geolocation Info</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;meta name=&quot;description&quot;  content=&quot;Detecting Browser Geolocation Details&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
One interesting aspect of web development is geolocation; where is your user viewing your website from? You can base your language locale on that data or show certain products in your store based on the user&amp;#39;s location. Let&amp;#39;s examine how you can use the geolocation API to get location details!
&lt;/content&gt;&lt;br&gt;&lt;br&gt;
&lt;content&gt;
Feature detection is the best way to confirm the Geolocation API is avilable.
&lt;/content&gt;
&lt;pre&gt;
if(&amp;quot;geolocation&amp;quot; in navigator) {
  
 }else {
         alert(&amp;quot;No soup for you!  Your browser does not support this feature&amp;quot;);
 }

&lt;/pre&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2015/08/detecting-browser-geolocation-info.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2015/08/detecting-browser-geolocation-info.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqmj1VEq4NseOiOMVk-FlICCWaGR9YCxPiZbM2jQeCW-zd1vizd9cLp6xHlpS2Qm7AKAW7ktC1NqR4kFX_Q3BdjN_tpw_g8iQxqM4sUq2MO3Y8t_YUnh8jWswEfcQmeW-0aUjPThU_254W/s72-c/kC_geolocation.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-3317987709097233155</guid><pubDate>Wed, 19 Aug 2015 12:28:00 +0000</pubDate><atom:updated>2015-08-19T05:30:04.749-07:00</atom:updated><title>Get address from Latitude and Longitude Coordinates in php</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;title&gt;Get address from Latitude and Longitude Coordinates in php &lt;/title&gt;
&lt;meta content=&quot;Get address from Latitude and Longitude Coordinates in php&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinuchilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;

&lt;content&gt;
Get Address from given Latitude and Longitude Coordinates using google map api called Reverse Geocoding. It is the process of converting geographic coordinates (Latitude and Longitude) into addresses. Here is a little php function to get address from latitude and longitude.
&lt;/content&gt;&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://knowledgecornor.blogspot.in/2013/12/get-longitude-latitude-values-with.html&quot;&gt;previously explain about getting latitude and longitude values from Google Maps API, based on the town, city or country location.&lt;/a&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2015/08/get-address-from-latitude-and-longitude.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2015/08/get-address-from-latitude-and-longitude.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-4104517057083992944</guid><pubDate>Mon, 17 Aug 2015 10:22:00 +0000</pubDate><atom:updated>2015-08-17T03:31:18.476-07:00</atom:updated><title>IMDB API implementation to get movie information</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;hr&gt;
&lt;meta name=&quot;description&quot;  content=&quot;Getting movies info using Api with Php&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
IMDb (Internet Movie Database) is the biggest database of movie information on Internet. IMdb has over 2 million titles of movies and episodes. IMDb is a reliable source for movie information to be used for web applications related to movie and television episodes. Unfortunately IMDb has not published APIs to get the movie information programatically. But fortunately there exists a third party API source (omdbapi.com) from which IMDb movie information can be fetched programatically and used in our applications. The OMDb (Open Movie Database) APIs were developer by Brian Fritz and are widely used to get IMDb movie information.
&lt;/content&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2015/08/imdb-api-implementation-to-get-movie.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2015/08/imdb-api-implementation-to-get-movie.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqZpvtSLjcuPLDDDhV_mbJhQ0Qxi8DF-64tL62TJRZ73r8yZQCZMPwtJ5DjJWizdn1UnyThj_gRESvzHMIS_JGyurx93jHIy_bKR25czpqpJhUOwuZHYglzvlxJ7HT6hO1yl0ZoccUjFGm/s72-c/kc_movie_result.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-8427796412369350156</guid><pubDate>Thu, 12 Mar 2015 13:21:00 +0000</pubDate><atom:updated>2015-03-12T06:23:56.332-07:00</atom:updated><title>How To Recover Deleted Facebook Messages, Pictures And Videos...</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;hr&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;meta name=&quot;description&quot;  content=&quot;How to get your facebook data&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Hello friends today I’m come with a Facebook trick &lt;br&gt;

I am surely said that when you go on Google and search for this queries “how to retrieve Facebook messages” OR “Recover deleted Facebook messages” then you can find lots of fake post and article there. This is time wasting to read fake posts. That’s why I guide you how you can get back deleted txt massages, photos, videos,Friends,Pokes,Events,Settings,Security,Ads,Private Notes,Mobile Devices,Places,Survey Responses tetc.. . Continue reading…&lt;/content&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQnRHWosmcf-Q2hMjOZ6O1H99ZIF2gqJ_wmMcH_pA19i54jnPigCB1IkpQi0YPS_bFf6FmkIk55AIluC8j-dXMhlKuLRVk25t-O_w5Y9tQujs8xJd6rYo14TGoJF8u3koxDKIK4fxNMFRF/s1600/recovery_facebookdata.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQnRHWosmcf-Q2hMjOZ6O1H99ZIF2gqJ_wmMcH_pA19i54jnPigCB1IkpQi0YPS_bFf6FmkIk55AIluC8j-dXMhlKuLRVk25t-O_w5Y9tQujs8xJd6rYo14TGoJF8u3koxDKIK4fxNMFRF/s1600/recovery_facebookdata.jpg&quot; height=&quot;168&quot; width=&quot;320&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2015/03/how-to-recover-deleted-facebook.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2015/03/how-to-recover-deleted-facebook.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQnRHWosmcf-Q2hMjOZ6O1H99ZIF2gqJ_wmMcH_pA19i54jnPigCB1IkpQi0YPS_bFf6FmkIk55AIluC8j-dXMhlKuLRVk25t-O_w5Y9tQujs8xJd6rYo14TGoJF8u3koxDKIK4fxNMFRF/s72-c/recovery_facebookdata.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-8097412925067560488</guid><pubDate>Tue, 10 Mar 2015 11:52:00 +0000</pubDate><atom:updated>2015-03-10T04:54:07.717-07:00</atom:updated><title>Credit Card validation regex script in PHP using Luhn algorithm</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;meta name=&quot;description&quot;  content=&quot;Credit Card validation regex script in PHP using Luhn algorithm&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;hr&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;

                 Credit card validation is essential for e-commerce websites. Credit card numbers entered by users will not be necessarily correct always. The credit card payment processing companies (visa,mastercard) charge merchandise for each transaction carried out. This also includes the failed transactions. Therefore it becomes essential to validate the credit card number  before sending it to the payment gateways. The unique credit card numbers are generated by the issuing banks using &amp;quot;&lt;b&gt;Luhn formula&lt;/b&gt;&amp;quot;. This tutorial explains how to validate the credit card number entered by user and get the name of the payment network (visa, mastercard etc..) of the credit card. There are different formats for the credit card numbers allotted by the payment networks. The various payment networks and their credit card number formats are given below.&lt;/content&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2015/03/credit-card-validation-regex-script-in.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2015/03/credit-card-validation-regex-script-in.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-430699681020909602</guid><pubDate>Fri, 14 Nov 2014 16:05:00 +0000</pubDate><atom:updated>2014-11-14T08:09:48.534-08:00</atom:updated><title>Using Diffuse comparing and merging text files in Ubuntu</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;/hr&gt;

&lt;meta name=&quot;description&quot;  content=&quot;How to Install Diffuse in Ubuntu For Comparing Text Files&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot; /&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Diffuse is a graphical tool for comparing and merging text files. It can work with many revision control systems as a diff viewer or merge tool. Diffuse is able to compare an arbitrary number of files side-by-side (n-way merge), and gives the user the ability to manually correct line matching and directly edit the files.

&lt;/content&gt;&lt;br&gt;&lt;br&gt;
&lt;b&gt;
Install Diffuse in Ubuntu
&lt;/b&gt;&lt;/br&gt;
open Terminal Type Command:&lt;br/&gt;
&lt;pre&gt;
sudo apt-get install diffuse
&lt;/pre&gt;

&lt;content&gt;
After compilation Installation, In terminal type
&lt;/content&gt;&lt;br&gt;
diffuse file1 file2&lt;br&gt;&lt;br&gt;

Eg:diffuse source.php sourcedemo.php&lt;br&gt;&lt;br&gt;

diffuse will be display like:&lt;br&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilIfMSTuU6pL3N0Px_VDcO0cUggx6zdFsc9kTgr9eEnSk4314RU_L93c2jhmdG6x6sG-PV_Ain_391B23u3NYguduTRfUWbQgltbbe4r2VZBrCsUkNI5bV23TMhT65D3MgpV08Y7nsHPTn/s1600/kc_diffuse.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilIfMSTuU6pL3N0Px_VDcO0cUggx6zdFsc9kTgr9eEnSk4314RU_L93c2jhmdG6x6sG-PV_Ain_391B23u3NYguduTRfUWbQgltbbe4r2VZBrCsUkNI5bV23TMhT65D3MgpV08Y7nsHPTn/s320/kc_diffuse.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2014/11/using-diffuse-comparing-and-merging.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilIfMSTuU6pL3N0Px_VDcO0cUggx6zdFsc9kTgr9eEnSk4314RU_L93c2jhmdG6x6sG-PV_Ain_391B23u3NYguduTRfUWbQgltbbe4r2VZBrCsUkNI5bV23TMhT65D3MgpV08Y7nsHPTn/s72-c/kc_diffuse.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-9001241529119458305</guid><pubDate>Thu, 16 Oct 2014 16:42:00 +0000</pubDate><atom:updated>2015-03-04T05:14:10.817-08:00</atom:updated><title>FourSquare API integration with PHP website</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;hr&gt;
&lt;meta name=&quot;description&quot;  content=&quot;Login with Foursquare using PHP&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;

&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Hi Friends Previously Explain about how to create Foursquare App, Now Explain Integrating Foursquare in Website using PHP with App Credentials
Now, we will use a PHP library which is readily available here: 
&lt;a href=&quot;https://developer.foursquare.com/resources/libraries&quot; target=&quot;_blank&quot;&gt;Foursquare Libraries&lt;/a&gt;
We will use the PHP one marked in red in below screenshot:&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVx13Zjk1_iLQdnbeGp0UQX_g5O6lhT8N7kzgGZ5DcRV6Q1eCgqGfpm_oCBwIcfOOoKEITuI1br7ViGJ9Gml3zG_z5LtIl7AN3xPRP6SOoxmcdNCy0f-B123WGB4SMgXfU9UHcnYyTvEZw/s1600/knowledgecorner_foursquarelogin.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVx13Zjk1_iLQdnbeGp0UQX_g5O6lhT8N7kzgGZ5DcRV6Q1eCgqGfpm_oCBwIcfOOoKEITuI1br7ViGJ9Gml3zG_z5LtIl7AN3xPRP6SOoxmcdNCy0f-B123WGB4SMgXfU9UHcnYyTvEZw/s320/knowledgecorner_foursquarelogin.png&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/content&gt;&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2014/10/foursquare-api-integration-with-php.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2014/10/foursquare-api-integration-with-php.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVx13Zjk1_iLQdnbeGp0UQX_g5O6lhT8N7kzgGZ5DcRV6Q1eCgqGfpm_oCBwIcfOOoKEITuI1br7ViGJ9Gml3zG_z5LtIl7AN3xPRP6SOoxmcdNCy0f-B123WGB4SMgXfU9UHcnYyTvEZw/s72-c/knowledgecorner_foursquarelogin.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-2166376926618285515</guid><pubDate>Tue, 14 Oct 2014 17:07:00 +0000</pubDate><atom:updated>2014-10-14T10:22:57.720-07:00</atom:updated><title>How to create a Foursquare app ?</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;hr&gt;
&lt;meta content=&quot;How to create a Foursquare app?&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Hi Friends Previously I am Explain about how to create Facebook , Twitter and Google App, Now Expalin about how to create Foursquare App
It is very is process completed in 3 steps. 
&lt;/content&gt;&lt;br&gt;
&lt;b&gt;1. Go to Developers section of FourSquare and click on My Apps at the top of the page.&lt;/b&gt;&lt;a href=&quot;https://developer.foursquare.com/index&quot; target=&#39;_blank&#39;&gt;Foursquare&lt;/a&gt; &lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2014/10/how-to-create-foursquare-app.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2014/10/how-to-create-foursquare-app.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2uWdoutdYm6YLwj_eebLypRtuQ7Aqr0qx5r2kMALRv9WUfXxRGb1bXZol6JAEivP-0CZCfHX2SHt4X-xCB3M2lqbYUiWV0vrupEZq7yWkVLsMyfC_WJhe7jQFvbpdQJMmhdEWM9zGc9sq/s72-c/knowledgecorner_foursquare_app.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-7287823533851402690</guid><pubDate>Fri, 10 Oct 2014 09:05:00 +0000</pubDate><atom:updated>2014-10-10T03:01:25.837-07:00</atom:updated><title>Snow Effect using jQuery</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;hr&gt;

&lt;meta content=&quot;Snow Effect using jQuery&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;

&lt;content&gt;
In this article explain about snow effect using jquery the following code is used for display snow effect,
In this using size and colr values are minSize:5,maxSize:10,flakeColor:white.
&lt;/content&gt;&lt;br&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz0-1C17tx3M5a7II5iFBuaD3pACKuEK2_JWQnKmYPjXHETGJ8aJ_MmxObQQURrtMpeS5fhVRQm9WMwqm6p-1OW1PKcypBoLVDSVtCWlNyyeyF7DvFHOe9IgQhbfPtRn9yEOHzaeFy26OD/s1600/knowledgecorner_snow.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz0-1C17tx3M5a7II5iFBuaD3pACKuEK2_JWQnKmYPjXHETGJ8aJ_MmxObQQURrtMpeS5fhVRQm9WMwqm6p-1OW1PKcypBoLVDSVtCWlNyyeyF7DvFHOe9IgQhbfPtRn9yEOHzaeFy26OD/s320/knowledgecorner_snow.jpg&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2014/10/snow-effect-using-jquery.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2014/10/snow-effect-using-jquery.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz0-1C17tx3M5a7II5iFBuaD3pACKuEK2_JWQnKmYPjXHETGJ8aJ_MmxObQQURrtMpeS5fhVRQm9WMwqm6p-1OW1PKcypBoLVDSVtCWlNyyeyF7DvFHOe9IgQhbfPtRn9yEOHzaeFy26OD/s72-c/knowledgecorner_snow.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-3386107793320628136</guid><pubDate>Wed, 08 Oct 2014 09:45:00 +0000</pubDate><atom:updated>2014-10-08T02:53:28.090-07:00</atom:updated><title>Security for online webfolders using .htaccess</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;meta content=&quot;Security for online webfolders&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;KnowledgeCorner&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;

&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Today I am going to tell you about .htaccess file, this is very basic thing to hide folder file lists by using htaccess, when we are holding some file in our website that files are listed as file in web folder. So that is hack-able by visitor or hackers, so we have to make secure our web folder files. for that we are going to use htaccess.
&lt;/content&gt;

&lt;br&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxUvg6gafbsoeupzQIYtQRBLlUpV-GswwQrZmJG4aP3aT3pvppa4mG1MQZeusdn0F_YCyG3988XZl-zqnnXr9SXY-Qx4xoWoHns_MwWEmf9p4vO-yZkz9C7UBX5DH85dkT_qUxSE1mNS19/s1600/knowledgecorner_htaccess.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxUvg6gafbsoeupzQIYtQRBLlUpV-GswwQrZmJG4aP3aT3pvppa4mG1MQZeusdn0F_YCyG3988XZl-zqnnXr9SXY-Qx4xoWoHns_MwWEmf9p4vO-yZkz9C7UBX5DH85dkT_qUxSE1mNS19/s1600/knowledgecorner_htaccess.jpg&quot; height=&quot;178&quot; width=&quot;320&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2014/10/security-for-online-webfolders-using.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2014/10/security-for-online-webfolders-using.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxUvg6gafbsoeupzQIYtQRBLlUpV-GswwQrZmJG4aP3aT3pvppa4mG1MQZeusdn0F_YCyG3988XZl-zqnnXr9SXY-Qx4xoWoHns_MwWEmf9p4vO-yZkz9C7UBX5DH85dkT_qUxSE1mNS19/s72-c/knowledgecorner_htaccess.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-3932858068337745531</guid><pubDate>Sat, 20 Sep 2014 07:26:00 +0000</pubDate><atom:updated>2014-09-20T02:03:11.969-07:00</atom:updated><title>Add Contacts to Gamil using PHP Curl</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;hr&gt;
&lt;meta content=&quot;storing contacts to gmail&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot;&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;

&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
 Hi Friends I am previously Explan about how to getting google(Gmail) contacts using Google API with php, you can find the process of getting gamil contacts Article here &lt;a href=&quot;http://tinyurl.com/kkatb4s&quot; target=&quot;_blank&quot;&gt;Getting Google Contacts&lt;/a&gt; &lt;br&gt;

 Now explain about how to add contacts to our gmail account it is very is process through PHP Curl in this process we need  &amp;quot;access_token&amp;quot;.
  the following snippet of code is used for add contacts to my gmail account.
&lt;/content&gt;&lt;br&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilr-FIPOlEjdbntYW1FHaCE4dRt-KEf3onVc3YcicXoXl_dJKDeTLo2FMQElMSV3jG61Hm02iOU5f3yjgg9feV-_Xsy7aE2ue7Ou3f9VRTvsRfMFuLt8yzWAZZ1BH3emv3p_QGu4JywHRu/s1600/knowledgecorner_google_contacts.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilr-FIPOlEjdbntYW1FHaCE4dRt-KEf3onVc3YcicXoXl_dJKDeTLo2FMQElMSV3jG61Hm02iOU5f3yjgg9feV-_Xsy7aE2ue7Ou3f9VRTvsRfMFuLt8yzWAZZ1BH3emv3p_QGu4JywHRu/s320/knowledgecorner_google_contacts.png&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2014/09/add-contacts-to-gamil-using-php-curl.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2014/09/add-contacts-to-gamil-using-php-curl.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilr-FIPOlEjdbntYW1FHaCE4dRt-KEf3onVc3YcicXoXl_dJKDeTLo2FMQElMSV3jG61Hm02iOU5f3yjgg9feV-_Xsy7aE2ue7Ou3f9VRTvsRfMFuLt8yzWAZZ1BH3emv3p_QGu4JywHRu/s72-c/knowledgecorner_google_contacts.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-5246207246088328155</guid><pubDate>Fri, 19 Sep 2014 16:18:00 +0000</pubDate><atom:updated>2014-09-19T09:18:19.365-07:00</atom:updated><title>Use PHP To Detect An Ajax Request</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;/hr&gt;
&lt;meta content=&quot;Use PHP To Detect An Ajax Request&quot; name=&quot;description&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot; /&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Here is a quick PHP snippet that you can use to tell if the request coming to the page is from a form or from an Ajax request.&lt;br&gt;
Where a page is being accessed by AJAX it will post data using XML, PHP can then pick up on the HTTP request and see what the return is expecting.
For this you just need to use the PHP server variable and grab the parameter HTTP_X_Requested_With.&lt;br&gt;
For this you just need to use the PHP server variable and grab the parameter HTTP_X_Requested_With.
&lt;/content&gt;
&lt;pre&gt;
$_SERVER[&#39;HTTP_X_REQUESTED_WITH&#39;]
&lt;/pre&gt;
&lt;pre&gt;
if(isset($_SERVER[&#39;HTTP_X_REQUESTED_WITH&#39;]) &amp;&amp; !empty($_SERVER[&#39;HTTP_X_REQUESTED_WITH&#39;]) &amp;&amp; strtolower($_SERVER[&#39;HTTP_X_REQUESTED_WITH&#39;]) == &#39;xmlhttprequest&#39;)
{
From Ajax

}else{
Not Ajax

}
&lt;/pre&gt;
&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2014/09/use-php-to-detect-ajax-request.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-8796640275308888238</guid><pubDate>Thu, 18 Sep 2014 12:12:00 +0000</pubDate><atom:updated>2014-09-19T09:18:03.043-07:00</atom:updated><title>Get Latitude,Longitude Coordinates and Address from Postl code or Address Using Javascript and Display a Google Map</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;/hr&gt;
&lt;meta content=&quot;Get Latitude,Longitude Coordinates and Address from Postl code or Address Using Javascript and Display a Google Map&quot; name=&quot;description&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot; /&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
In this Article Explain about How to Getting Latitude,Longitude Coordinates and Address using Postal code or location with Javascript.&lt;br&gt;
Hi there! I’m working at the moment on a project, where every user fills in their address when registering on the website they enter postalcode remaing fields automatically filled.
&lt;/content&gt;
&lt;div align=&quot;center&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;a class=&quot;demo&quot; href=&quot;http://sri-knowledgecorner.rhcloud.com/locationfinder&quot; target=&quot;_blank&quot;&gt;Click here for Demo&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;a class=&quot;download&quot; href=&quot;https://app.box.com/s/ykr2ckjr4uzg2rv3rb0c&quot; target=&quot;_blank&quot;&gt;Download Script&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2014/09/get-latitudelongitude-coordinates-and.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-6754781048738105597</guid><pubDate>Fri, 22 Aug 2014 17:02:00 +0000</pubDate><atom:updated>2014-08-22T10:07:57.156-07:00</atom:updated><title>How to Backup MySQL Database?</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;

&lt;meta content=&quot;MySQL Database Backup&quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
To take a backup of MySQL database or databases, the database must exist in the database server and you must have access to it. The format of the command would be.
&lt;/content&gt;
&lt;br&gt;
&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNZRT2O5cibIAMZMbe78Ubdj7z9IROpWY0ytMG_v4_z3XlmHf1k7L24iAH3qKsjDttq3rBjBvvUUt9_566LjGPd14OuaSC6J9yq2BDwcO_MGu4PFgddEuBb6h2UThWRSfnGS7-6q9Wd5G7/s1600/kc_backupmysql.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNZRT2O5cibIAMZMbe78Ubdj7z9IROpWY0ytMG_v4_z3XlmHf1k7L24iAH3qKsjDttq3rBjBvvUUt9_566LjGPd14OuaSC6J9yq2BDwcO_MGu4PFgddEuBb6h2UThWRSfnGS7-6q9Wd5G7/s1600/kc_backupmysql.jpeg&quot;&gt;&lt;/a&gt;&lt;/div&gt;

&lt;pre&gt;# mysqldump -u [username] –p[password] [database_name] &amp;gt; [dump_file.sql]&lt;/pre&gt;
The parameters of the said command as follows.&lt;br&gt;
&lt;content&gt;&lt;b&gt;[username] &lt;/b&gt;: A valid MySQL username. &lt;/content&gt;&lt;br&gt;
&lt;content&gt;&lt;b&gt;[password] &lt;/b&gt;: A valid MySQL password for the user. &lt;/content&gt;&lt;br&gt;
&lt;content&gt;&lt;b&gt;[database_name]&lt;/b&gt; : A valid Database name you want to take backup. &lt;/content&gt;&lt;br&gt;
&lt;content&gt;&lt;b&gt;[dump_file.sql]&lt;/b&gt; : The name of backup dump file you want to generate.&lt;/content&gt;&lt;br&gt;
&lt;b&gt;&lt;/b&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2014/08/how-to-backup-mysql-database.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2014/08/how-to-backup-mysql-database.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNZRT2O5cibIAMZMbe78Ubdj7z9IROpWY0ytMG_v4_z3XlmHf1k7L24iAH3qKsjDttq3rBjBvvUUt9_566LjGPd14OuaSC6J9yq2BDwcO_MGu4PFgddEuBb6h2UThWRSfnGS7-6q9Wd5G7/s72-c/kc_backupmysql.jpeg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-3458534664368363057</guid><pubDate>Thu, 31 Jul 2014 15:37:00 +0000</pubDate><atom:updated>2014-07-31T08:37:26.229-07:00</atom:updated><title>Checking if Cookies are Enabled in Browser</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;/hr&gt;
&lt;meta content=&quot;Delete image from folder in php&quot; name=&quot;description&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot; /&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
The simplest way to check for cookies is via JavaScript. The following function will return a boolean value -&gt; true if cookies are enabled:, otherwise will return false.
&lt;/content&gt;
&lt;pre&gt;
&amp;lt;script &amp;gt;
function are_cookies_enabled()
  {
 var cookieEnabled = (navigator.cookieEnabled) ? true : false;

 if (typeof navigator.cookieEnabled == &quot;undefined&quot; &amp;&amp; !cookieEnabled)
 { 
  document.cookie=&quot;testcookie&quot;;
  cookieEnabled = (document.cookie.indexOf(&quot;testcookie&quot;) != -1) ? true : false;
 }
 return (cookieEnabled);
  }

 var result= are_cookies_enabled();
 alert(result);
&amp;lt;/script&amp;gt;

&lt;/pre&gt;
&lt;content&gt;

A snippet of code using the function above was executed when you loaded this page. resutl will display true or false
&lt;/content&gt;
&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2014/07/checking-if-cookies-are-enabled-in.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-4607590157808869378</guid><pubDate>Mon, 28 Jul 2014 16:40:00 +0000</pubDate><atom:updated>2014-07-28T09:40:40.449-07:00</atom:updated><title>Delete image from folder in php</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;/hr&gt;
&lt;meta content=&quot;Delete image from folder in php&quot; name=&quot;description&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot; /&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
We are using image upload coding image moved on particular folder. after delete  that database record data only deleted but image stay on same folder,Following line of code is used to Delet image from folder.
&lt;/content&gt;
&lt;pre&gt;
unlink(&#39;foldername/&#39;.$imagename);
&lt;/pre&gt;
&lt;pre&gt;
&amp;lt;?php
if(file_exists(&#39;imagesfolder/&#39;.$image_name)){
  unlink(&#39;imagesfolder/&#39;.$image_name);
}
?&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2014/07/delete-image-from-folder-in-php.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-3554191676023107810</guid><pubDate>Thu, 24 Jul 2014 17:00:00 +0000</pubDate><atom:updated>2014-07-24T10:00:59.250-07:00</atom:updated><title>Get all dates between two dates using php code.</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;

&lt;meta content=&quot;Get all dates between two dates using php code.&quot; name=&quot;description&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot; /&gt;
&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
In this Example giving two dates as &quot;2014-07-24&quot; and &quot;2014-07-31&quot; it return all days between these two dates.
&lt;/content&gt;
&lt;br /&gt;
&lt;pre&gt;&amp;lt;?php
function getAllDatesBetweenTwoDates($strDateFrom,$strDateTo)
{
    $aryRange=array();

    $iDateFrom=mktime(1,0,0,substr($strDateFrom,5,2),     substr($strDateFrom,8,2),substr($strDateFrom,0,4));
    $iDateTo=mktime(1,0,0,substr($strDateTo,5,2),     substr($strDateTo,8,2),substr($strDateTo,0,4));

    if ($iDateTo&amp;gt;=$iDateFrom)
    {
        array_push($aryRange,date(&#39;Y-m-d&#39;,$iDateFrom)); // first entry
        while ($iDateFrom&amp;lt;$iDateTo)
        {
            $iDateFrom+=86400; // add 24 hours
            array_push($aryRange,date(&#39;Y-m-d&#39;,$iDateFrom));
        }
    }
    return $aryRange;
}

$fromDate = &#39;2014-07-24&#39;;
$toDate = &#39;2014-07-31&#39;;

$dateArray = getAllDatesBetweenTwoDates($fromDate, $toDate);

    print_r($dateArray);

?&amp;gt;
&lt;/pre&gt;
&lt;b&gt;
Output will be :&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5idywO6u3UzKvbRH6Svr9HLqtiDrllsCsWEHcTA_bMftz83CmRP_2uK1QuPSHWgdG1Q69r_GLs47hvZcjier2BIOiEehA2Et7xwftb86amKHzgfJwQ7oL2vgbIf1iAKT_erIENII3C_Xw/s1600/kc_inbetweendatesresult.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5idywO6u3UzKvbRH6Svr9HLqtiDrllsCsWEHcTA_bMftz83CmRP_2uK1QuPSHWgdG1Q69r_GLs47hvZcjier2BIOiEehA2Et7xwftb86amKHzgfJwQ7oL2vgbIf1iAKT_erIENII3C_Xw/s1600/kc_inbetweendatesresult.png&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;
&lt;/b&gt;



&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2014/07/get-all-dates-between-two-dates-using.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5idywO6u3UzKvbRH6Svr9HLqtiDrllsCsWEHcTA_bMftz83CmRP_2uK1QuPSHWgdG1Q69r_GLs47hvZcjier2BIOiEehA2Et7xwftb86amKHzgfJwQ7oL2vgbIf1iAKT_erIENII3C_Xw/s72-c/kc_inbetweendatesresult.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-5988704727647572324</guid><pubDate>Fri, 13 Jun 2014 11:26:00 +0000</pubDate><atom:updated>2014-06-13T04:26:05.437-07:00</atom:updated><title>Get Facebook Likes Count of a page using Graph API</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;meta content=&quot;Get Facebook Likes Count of a page using Graph API&quot; name=&quot;description&quot;  /&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot; /&gt;

&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &quot;Consolas&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
This small code snippet given below uses FaceBook’s graph api and returns the likes count of the page. There is no need to have the FaceBook access token to call the api and get the result.
&lt;/content&gt;
&lt;pre&gt;
&amp;lt;?php
//The following code returns the Number of likes for any facebook page.
 
//Page Id of Knowledgecotner Replace it with your page.
$page_id = &quot;556271807742934&quot;;
$likes = 0; //Initialize the count
 
//Construct a Facebook URL
$json_url =&#39;https://graph.facebook.com/&#39;.$page_id.&#39;&#39;;
$json = file_get_contents($json_url);
$json_output = json_decode($json);
 
//Extract the likes count from the JSON object
if($json_output-&gt;likes){
    $likes = $json_output-&gt;likes;
}

//Printing the count
echo $likes.&#39; Facebook Fans&#39;;
?&amp;gt;

&lt;/pre&gt;


&lt;/div&gt;</description><link>https://knowledgecornor.blogspot.com/2014/06/get-facebook-likes-count-of-page-using.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4750375081644813691.post-4817275064452413805</guid><pubDate>Tue, 10 Jun 2014 09:34:00 +0000</pubDate><atom:updated>2014-11-27T01:52:57.323-08:00</atom:updated><title>How To Display Twitter Followers Count In PHP</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;hr&gt;
&lt;meta content=&quot;How to get twitter user information using php &quot; name=&quot;description&quot;&gt;
&lt;meta name=&quot;author&quot; content=&quot;srinu chilukuri&quot;&gt;
&lt;meta name=&quot;copyright&quot; content=&quot;knowledgecorner&quot;&gt;

&lt;link href=&quot;https://googledrive.com/host/0B9ao7azCT6rMelJYeVRNZkFVeWc&quot; rel=&quot;stylesheet&quot;&gt;
&lt;style&gt;
pre {
background: #f6f6f6;
border: 1px solid #ccc;
font-family: &amp;quot;Consolas&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace, serif;
font-size: 14px;
line-height: 20px;
padding: 6px 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
content {
    color: #333333;
    font-size: 14px;
    line-height: 25px;
}
&lt;/style&gt;
&lt;content&gt;
Twitter is one of the most used social networking websites on the internet. Twitter API allows you to retrieve info for specific user. All you need to do is to enter the handler of the user. You can easily retrieve a specific Twitter user’s followers count with a small snippet:&lt;/content&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;https://knowledgecornor.blogspot.com/2014/06/how-to-display-twitter-followers-count.html#more&quot;&gt;Read more »&lt;/a&gt;</description><link>https://knowledgecornor.blogspot.com/2014/06/how-to-display-twitter-followers-count.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item></channel></rss>