<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:08:41 +0000</lastBuildDate>
    <item>
      <title>(PHP) How to extract the tags shared between two different post types in Wordpress - ginoplusio</title>
      <link>https://snipplr.com/view/335344/how-to-extract-the-tags-shared-between-two-different-post-types-in-wordpress</link>
      <description>&lt;p&gt;Extract all the tags (shared between two post types) used with a specific post type&lt;/p&gt;</description>
      <pubDate>Wed, 20 Nov 2019 22:38:22 UTC</pubDate>
      <guid>https://snipplr.com/view/335344/how-to-extract-the-tags-shared-between-two-different-post-types-in-wordpress</guid>
    </item>
    <item>
      <title>(PHP) Generate all old PDF preview images in WordPress - ginoplusio</title>
      <link>https://snipplr.com/view/313074/generate-all-old-pdf-preview-images-in-wordpress</link>
      <description>&lt;p&gt;From WordPress 4.7 when you upload a PDF it generates jpg previews. All pdf will remain without previews, or you can use this script to generate previews.&lt;/p&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:24:47 UTC</pubDate>
      <guid>https://snipplr.com/view/313074/generate-all-old-pdf-preview-images-in-wordpress</guid>
    </item>
    <item>
      <title>(PHP) How to reorder rows changinga position field - ginoplusio</title>
      <link>https://snipplr.com/view/73192/how-to-reorder-rows-changinga-position-field</link>
      <description>&lt;p&gt;This PHP function lets you reorder records on a table when you have a field used for save the position. If you have a field with position when you are editing records you probably want, for example, to move a record from position 5 to position 2, but if you already have a record in position 2 problems could raise, so how can you reorder all the records without losing informations and preserving the right order of the other elements? See how to use in the above link.&lt;/p&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:57:23 UTC</pubDate>
      <guid>https://snipplr.com/view/73192/how-to-reorder-rows-changinga-position-field</guid>
    </item>
    <item>
      <title>(PHP) How to read Instagram images and users without api - ginoplusio</title>
      <link>https://snipplr.com/view/73088/how-to-read-instagram-images-and-users-without-api</link>
      <description>&lt;p&gt;Sometimes using small code snippets is faster than implement the official api. Using mini bots class is faster to get Instagram data.&lt;/p&gt;</description>
      <pubDate>Thu, 05 Dec 2013 08:43:43 UTC</pubDate>
      <guid>https://snipplr.com/view/73088/how-to-read-instagram-images-and-users-without-api</guid>
    </item>
    <item>
      <title>(PHP) Block temporary email account and email validation - ginoplusio</title>
      <link>https://snipplr.com/view/73087/block-temporary-email-account-and-email-validation</link>
      <description>&lt;p&gt;Sometimes fake users use temporary emails account. Block them within email validation function.&lt;/p&gt;</description>
      <pubDate>Thu, 05 Dec 2013 08:31:22 UTC</pubDate>
      <guid>https://snipplr.com/view/73087/block-temporary-email-account-and-email-validation</guid>
    </item>
    <item>
      <title>(PHP) Set up a cron job with IFTTT, without cron - ginoplusio</title>
      <link>https://snipplr.com/view/72892/set-up-a-cron-job-with-ifttt-without-cron</link>
      <description>&lt;p&gt;Sometimes, as a developer, I donâ€™t have access to the server at a deep level and, for example on some basic shared servers, I canâ€™t create cron jobs. A trick to create a cron jobs without server cron program is to use an external service to call your scripts.&#13;
For example, you can make it with IFTTT a famous web site that lets you make very astonishing things mixing web services from different sites.&lt;/p&gt;</description>
      <pubDate>Thu, 14 Nov 2013 04:14:44 UTC</pubDate>
      <guid>https://snipplr.com/view/72892/set-up-a-cron-job-with-ifttt-without-cron</guid>
    </item>
    <item>
      <title>(PHP) Counting how many times a web link has been shared on Twitter - ginoplusio</title>
      <link>https://snipplr.com/view/67829/counting-how-many-times-a-web-link-has-been-shared-on-twitter</link>
      <description>&lt;p&gt;Here is a function that read the number of times a url is shared on twitter.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 07:45:51 UTC</pubDate>
      <guid>https://snipplr.com/view/67829/counting-how-many-times-a-web-link-has-been-shared-on-twitter</guid>
    </item>
    <item>
      <title>(PHP) Facebook Connect Tutorial - ginoplusio</title>
      <link>https://snipplr.com/view/67677/facebook-connect-tutorial</link>
      <description>&lt;p&gt;I will show you how to crate an app for facebook to handle the facebook connect process on your web site.&#13;
Then I will show you the php code to perform the login on facebook and retrieve the informations you need for your site.&#13;
The last suggestion will point how to merge facebook users with your users.&#13;
Follow the link above to get the full tutoriall with text and images.&lt;/p&gt;</description>
      <pubDate>Wed, 10 Oct 2012 20:39:36 UTC</pubDate>
      <guid>https://snipplr.com/view/67677/facebook-connect-tutorial</guid>
    </item>
    <item>
      <title>(PHP) How to read facebook like count for a url with PHP - ginoplusio</title>
      <link>https://snipplr.com/view/67650/how-to-read-facebook-like-count-for-a-url-with-php</link>
      <description>&lt;p&gt;When you add facebook like button to your site, probably, you also want to save the number of likes of your pages to your database.These data are very useful and very important because they tell you which of your articles are better than others. Moreover, these pages are better than others because the user has decided to tell his friends about it.&lt;/p&gt;</description>
      <pubDate>Mon, 08 Oct 2012 22:23:36 UTC</pubDate>
      <guid>https://snipplr.com/view/67650/how-to-read-facebook-like-count-for-a-url-with-php</guid>
    </item>
    <item>
      <title>(PHP) How to use Instagram photos on your site - ginoplusio</title>
      <link>https://snipplr.com/view/58083/how-to-use-instagram-photos-on-your-site</link>
      <description>&lt;p&gt;Thanks to followgram.me you can read a public feed with your photos. Use this code to retrieve your Instagr.am photos and use them on your web.&lt;/p&gt;</description>
      <pubDate>Mon, 22 Aug 2011 17:43:38 UTC</pubDate>
      <guid>https://snipplr.com/view/58083/how-to-use-instagram-photos-on-your-site</guid>
    </item>
    <item>
      <title>(PHP) Php Function to resize video from YouTube and Vimeo - ginoplusio</title>
      <link>https://snipplr.com/view/42560/php-function-to-resize-video-from-youtube-and-vimeo</link>
      <description>&lt;p&gt;Iâ€™ve made this function that receive the input $video string that contains the dirty embed code as it is from youtube. The second parameter $new_width (if specified) permits to resize the embed code proportionally to the width you need for your template. This function removes also unwanted tags added after the important tag (such as happens from Vimeo embeds that have a p tag after the iframe).&lt;/p&gt;</description>
      <pubDate>Tue, 19 Oct 2010 21:25:47 UTC</pubDate>
      <guid>https://snipplr.com/view/42560/php-function-to-resize-video-from-youtube-and-vimeo</guid>
    </item>
    <item>
      <title>(PHP) How to change Twitter's status with php and Curl without oAuth - ginoplusio</title>
      <link>https://snipplr.com/view/40287/how-to-change-twitters-status-with-php-and-curl-without-oauth</link>
      <description>&lt;p&gt;Since the 31 of august 2010, twitter made its API more secure, stopping basic authentication calls.&#13;
So, if you used basic authentication you have to change your code and implement oAuth authentication model or you can follow this link and found a mini spider that does the work.&lt;/p&gt;</description>
      <pubDate>Fri, 10 Sep 2010 22:50:21 UTC</pubDate>
      <guid>https://snipplr.com/view/40287/how-to-change-twitters-status-with-php-and-curl-without-oauth</guid>
    </item>
    <item>
      <title>(PHP) PHP bot to get wikipedia definitions - ginoplusio</title>
      <link>https://snipplr.com/view/39711/php-bot-to-get-wikipedia-definitions</link>
      <description>&lt;p&gt;If you need to add some content to your pages without having that content in your database you can use Wikipedia API. You can, for example, need to add automatically a simple description to a city name, or to a band name. Or you could need to add the definition of some technological terms. You can do all of this things using Wikipedia, since Wikipedia has an API that easily lets you do it.&lt;/p&gt;</description>
      <pubDate>Mon, 30 Aug 2010 20:58:14 UTC</pubDate>
      <guid>https://snipplr.com/view/39711/php-bot-to-get-wikipedia-definitions</guid>
    </item>
    <item>
      <title>(PHP) How to send push notification to iPhone with PHP and pushme.to - ginoplusio</title>
      <link>https://snipplr.com/view/38798/how-to-send-push-notification-to-iphone-with-php-and-pushmeto</link>
      <description>&lt;p&gt;Push service is a technology that allows you to send alerts/notifications to a mobile device. Blackberry has its own push service, iPhone has its own, and also Android devices has their own push services (you can learn more on Wikipedia page).\r\nPush notifications are like â€œsmsâ€ but they are free if you have a flat service contract on your mobile.\r\nI want to send push to my iPhone, but Iâ€™m not able to develop an iPhone application that receive push alerts, and I donâ€™t want to send only email alerts.\r\nOk, letâ€™s recap: I have an iPhone and I need to send notifications to my mobile from my PHP scripts.\r\nSo Iâ€™ve looked deeply in the appStore and Iâ€™ve found pushme.to application. This application is made to talk with friends trought web sites and iPhones.\r\nPushme.to is good because after youâ€™ve registered you can go on their widget page and create a widget for your account to put on your web site. Well, in this post, I will not use this widget for my web site (I donâ€™t want users to write me), but I will use their widget with a mini web bot to send alerts directly to my device through a PHP function.\r\nIt happens this way: the cron job calls my php script, my script uses a small bot to call pushme.to widget, pushmeTo sends alerts to my iPhone...&lt;/p&gt;</description>
      <pubDate>Tue, 10 Aug 2010 02:26:16 UTC</pubDate>
      <guid>https://snipplr.com/view/38798/how-to-send-push-notification-to-iphone-with-php-and-pushmeto</guid>
    </item>
    <item>
      <title>(PHP) Parsing Flickr Feed with PHP tutorial - ginoplusio</title>
      <link>https://snipplr.com/view/35328/parsing-flickr-feed-with-php-tutorial</link>
      <description>&lt;p&gt;This is a small tutorial that guide you to use a small php function that parse the flickr\'s feed and output a simply thumbs gallery. Than you can customize the output using css style sheets. Here you can find the functions, follow the link to read the tutorial.&lt;/p&gt;</description>
      <pubDate>Sun, 30 May 2010 17:19:29 UTC</pubDate>
      <guid>https://snipplr.com/view/35328/parsing-flickr-feed-with-php-tutorial</guid>
    </item>
    <item>
      <title>(PHP) Remove slashes from $_GET and $_POST arrays - ginoplusio</title>
      <link>https://snipplr.com/view/33280/remove-slashes-from-get-and-post-arrays</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 27 Apr 2010 04:44:40 UTC</pubDate>
      <guid>https://snipplr.com/view/33280/remove-slashes-from-get-and-post-arrays</guid>
    </item>
    <item>
      <title>(PHP) How to get images from Google images with PHP - ginoplusio</title>
      <link>https://snipplr.com/view/30524/how-to-get-images-from-google-images-with-php</link>
      <description>&lt;p&gt;This simply php function will retrieve the links of the images from Google Images searched with a keyword. The function just calls images.google.it and parse the html to find the url of the images, in this case the urls are stored in the javascript, so the parsing doesnâ€™t use any html tag to find data. It builds an array of urls and return it.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Mar 2010 07:36:57 UTC</pubDate>
      <guid>https://snipplr.com/view/30524/how-to-get-images-from-google-images-with-php</guid>
    </item>
    <item>
      <title>(PHP) PHP parse url, mailto, and also twitterâ€™s usernames and arguments - ginoplusio</title>
      <link>https://snipplr.com/view/29556/php-parse-url-mailto-and-also-twitters-usernames-and-arguments</link>
      <description>&lt;p&gt;This small function receive a text as input and returns an html text with links if the source text contains urls (http://wwwâ€¦ but also ftp://â€¦ and every other protocol), emails, twitterâ€™s usernames (with @ at the beginning) and also twitter tags (with # at the beginning).&lt;/p&gt;</description>
      <pubDate>Wed, 10 Mar 2010 14:43:43 UTC</pubDate>
      <guid>https://snipplr.com/view/29556/php-parse-url-mailto-and-also-twitters-usernames-and-arguments</guid>
    </item>
    <item>
      <title>(PHP) how to change facebook status with php - ginoplusio</title>
      <link>https://snipplr.com/view/29070/how-to-change-facebook-status-with-php</link>
      <description>&lt;p&gt;Changing Facebook Status with PHP, download the Mini Bot PHP class from the blog http://www.barattalo.it&lt;/p&gt;</description>
      <pubDate>Mon, 01 Mar 2010 15:45:46 UTC</pubDate>
      <guid>https://snipplr.com/view/29070/how-to-change-facebook-status-with-php</guid>
    </item>
    <item>
      <title>(PHP) Retrieve Twitter info from php - ginoplusio</title>
      <link>https://snipplr.com/view/29069/retrieve-twitter-info-from-php</link>
      <description>&lt;p&gt;PHP function of mini bot class that lets you retrieve twitter infos from twitter nickname.&#13;
($this-&gt;attr method is part of the Mini Bot Class)&lt;/p&gt;</description>
      <pubDate>Mon, 01 Mar 2010 15:44:10 UTC</pubDate>
      <guid>https://snipplr.com/view/29069/retrieve-twitter-info-from-php</guid>
    </item>
    <item>
      <title>(PHP) Call ping-o-matic service with PHP - ginoplusio</title>
      <link>https://snipplr.com/view/28879/call-pingomatic-service-with-php</link>
      <description>&lt;p&gt;This function calls pingomatic rpc service to increase traffic to your site. More info and instructions on [Barattalo blog](http://www.barattalo.it/2010/02/24/ping-pingomatic-com-services-with-php/ "read this post").&#13;
.&lt;/p&gt;</description>
      <pubDate>Wed, 24 Feb 2010 17:42:03 UTC</pubDate>
      <guid>https://snipplr.com/view/28879/call-pingomatic-service-with-php</guid>
    </item>
    <item>
      <title>(PHP) Close unclosed tags - ginoplusio</title>
      <link>https://snipplr.com/view/28876/close-unclosed-tags</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 24 Feb 2010 16:41:53 UTC</pubDate>
      <guid>https://snipplr.com/view/28876/close-unclosed-tags</guid>
    </item>
    <item>
      <title>(PHP) PHP function to change collation on MySQL db - ginoplusio</title>
      <link>https://snipplr.com/view/28158/php-function-to-change-collation-on-mysql-db</link>
      <description>&lt;p&gt;Function to fix char set and collation on mysql tables, see [this link](http://www.barattalo.it/2010/02/11/php-function-to-fix-collation-on-database-fields-of-mysql/ "Fix encoding on db")&#13;
for examples and more infos.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Feb 2010 04:53:09 UTC</pubDate>
      <guid>https://snipplr.com/view/28158/php-function-to-change-collation-on-mysql-db</guid>
    </item>
    <item>
      <title>(PHP) PHP how to calculate age from date of birth - ginoplusio</title>
      <link>https://snipplr.com/view/28090/php-how-to-calculate-age-from-date-of-birth</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 10 Feb 2010 05:01:47 UTC</pubDate>
      <guid>https://snipplr.com/view/28090/php-how-to-calculate-age-from-date-of-birth</guid>
    </item>
    <item>
      <title>(PHP) How to fix dirty HTML code with PHP - ginoplusio</title>
      <link>https://snipplr.com/view/27662/how-to-fix-dirty-html-code-with-php</link>
      <description>&lt;p&gt;This PHP class lets you clean and repair html code. WHAT IT DOES: delete closed tags without their opening tag, fix open tag without close, closing them automatically, check bad nesting and fix them, fix bad quotes in attributes, merge different styles attributes in the same tag, remove html comments, remove empty tags and more bad tags.&lt;/p&gt;</description>
      <pubDate>Thu, 04 Feb 2010 03:58:24 UTC</pubDate>
      <guid>https://snipplr.com/view/27662/how-to-fix-dirty-html-code-with-php</guid>
    </item>
    <item>
      <title>(PHP) PHP recursive remove directory - ginoplusio</title>
      <link>https://snipplr.com/view/27562/php-recursive-remove-directory</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 02 Feb 2010 10:50:52 UTC</pubDate>
      <guid>https://snipplr.com/view/27562/php-recursive-remove-directory</guid>
    </item>
    <item>
      <title>(PHP) MySQLi convert a result set to an HTML table - ginoplusio</title>
      <link>https://snipplr.com/view/27470/mysqli-convert-a-result-set-to-an-html-table</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Feb 2010 05:47:27 UTC</pubDate>
      <guid>https://snipplr.com/view/27470/mysqli-convert-a-result-set-to-an-html-table</guid>
    </item>
    <item>
      <title>(PHP) MySQLi convert a result set to CSV or to JSON - ginoplusio</title>
      <link>https://snipplr.com/view/27469/mysqli-convert-a-result-set-to-csv-or-to-json</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Feb 2010 05:45:29 UTC</pubDate>
      <guid>https://snipplr.com/view/27469/mysqli-convert-a-result-set-to-csv-or-to-json</guid>
    </item>
    <item>
      <title>(PHP) MySQLi repair and optimize tables - ginoplusio</title>
      <link>https://snipplr.com/view/27468/mysqli-repair-and-optimize-tables</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Feb 2010 05:44:09 UTC</pubDate>
      <guid>https://snipplr.com/view/27468/mysqli-repair-and-optimize-tables</guid>
    </item>
    <item>
      <title>(PHP) MySQLi connection - ginoplusio</title>
      <link>https://snipplr.com/view/27467/mysqli-connection</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Feb 2010 05:42:38 UTC</pubDate>
      <guid>https://snipplr.com/view/27467/mysqli-connection</guid>
    </item>
    <item>
      <title>(PHP) Duplicate one row in a MYSQL table through PHP - ginoplusio</title>
      <link>https://snipplr.com/view/27023/duplicate-one-row-in-a-mysql-table-through-php</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 25 Jan 2010 11:25:20 UTC</pubDate>
      <guid>https://snipplr.com/view/27023/duplicate-one-row-in-a-mysql-table-through-php</guid>
    </item>
    <item>
      <title>(PHP) MYSQL Recordset to HTML table - ginoplusio</title>
      <link>https://snipplr.com/view/27019/mysql-recordset-to-html-table</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 25 Jan 2010 10:57:41 UTC</pubDate>
      <guid>https://snipplr.com/view/27019/mysql-recordset-to-html-table</guid>
    </item>
    <item>
      <title>(PHP) Run REPAIR and OPTIMIZE on every table of your MYSQL DB - ginoplusio</title>
      <link>https://snipplr.com/view/27018/run-repair-and-optimize-on-every-table-of-your-mysql-db</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 25 Jan 2010 10:56:41 UTC</pubDate>
      <guid>https://snipplr.com/view/27018/run-repair-and-optimize-on-every-table-of-your-mysql-db</guid>
    </item>
    <item>
      <title>(PHP) MYSQL - PHP simple connect function - ginoplusio</title>
      <link>https://snipplr.com/view/27017/mysql--php-simple-connect-function</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 25 Jan 2010 10:55:39 UTC</pubDate>
      <guid>https://snipplr.com/view/27017/mysql--php-simple-connect-function</guid>
    </item>
    <item>
      <title>(PHP) PHP bot that retrieves the text of a page with CURL - ginoplusio</title>
      <link>https://snipplr.com/view/26553/php-bot-that-retrieves-the-text-of-a-page-with-curl</link>
      <description>&lt;p&gt;Iâ€™ve found this nice small bot on the www.php.net site, thanks to the author of the script on the preg_replace page.&#13;
This bot returns the text content of a url and it could be used to take text from a site and find relevant words to search.&lt;/p&gt;</description>
      <pubDate>Sat, 16 Jan 2010 09:06:48 UTC</pubDate>
      <guid>https://snipplr.com/view/26553/php-bot-that-retrieves-the-text-of-a-page-with-curl</guid>
    </item>
    <item>
      <title>(PHP) Copy remote JPG on your site with PHP - ginoplusio</title>
      <link>https://snipplr.com/view/26552/copy-remote-jpg-on-your-site-with-php</link>
      <description>&lt;p&gt;Used to copy the user avatar from Facebook to your community in this [Facebook Connect Tutorial](http://www.barattalo.it/facebook-connect-tutorial/ "Tutorial").&lt;/p&gt;</description>
      <pubDate>Sat, 16 Jan 2010 08:34:09 UTC</pubDate>
      <guid>https://snipplr.com/view/26552/copy-remote-jpg-on-your-site-with-php</guid>
    </item>
    <item>
      <title>(PHP) PHP spider that retrieves url meta data and other informations - ginoplusio</title>
      <link>https://snipplr.com/view/26335/php-spider-that-retrieves-url-meta-data-and-other-informations</link>
      <description>&lt;p&gt;From a given url this function retrieves page title, meta description, keywords, favicon, and an array of images to use for links. It call file_get_contents and then make some regular expression job.&lt;/p&gt;</description>
      <pubDate>Tue, 12 Jan 2010 16:11:47 UTC</pubDate>
      <guid>https://snipplr.com/view/26335/php-spider-that-retrieves-url-meta-data-and-other-informations</guid>
    </item>
    <item>
      <title>(PHP) Sending emails with attachment and HTML with PHP - ginoplusio</title>
      <link>https://snipplr.com/view/26239/sending-emails-with-attachment-and-html-with-php</link>
      <description>&lt;p&gt;Function to send HTML emails with an attachment in PHP. Notes and info at the above url!&lt;/p&gt;</description>
      <pubDate>Mon, 11 Jan 2010 02:52:05 UTC</pubDate>
      <guid>https://snipplr.com/view/26239/sending-emails-with-attachment-and-html-with-php</guid>
    </item>
    <item>
      <title>(PHP) PHP and MySQL Facebook connect tutorial - ginoplusio</title>
      <link>https://snipplr.com/view/26030/php-and-mysql-facebook-connect-tutorial</link>
      <description>&lt;p&gt;This is a tutorial I've found for integrate Facebook Connect function with your web community.&lt;/p&gt;</description>
      <pubDate>Wed, 06 Jan 2010 18:34:10 UTC</pubDate>
      <guid>https://snipplr.com/view/26030/php-and-mysql-facebook-connect-tutorial</guid>
    </item>
    <item>
      <title>(PHP) Url exists function to check remote url - ginoplusio</title>
      <link>https://snipplr.com/view/26002/url-exists-function-to-check-remote-url</link>
      <description>&lt;p&gt;If you have to test if a remote url is correct you can use CURL and get the headers returned by the http request. If you receive a 200 code, than itâ€™s ok, else the url is not correct:&lt;/p&gt;</description>
      <pubDate>Wed, 06 Jan 2010 05:25:09 UTC</pubDate>
      <guid>https://snipplr.com/view/26002/url-exists-function-to-check-remote-url</guid>
    </item>
    <item>
      <title>(PHP) PHP tiny url encode and decode functions - ginoplusio</title>
      <link>https://snipplr.com/view/25668/php-tiny-url-encode-and-decode-functions</link>
      <description>&lt;p&gt;The first function make short urls.&#13;
The second function decode a short url with CURL. It gets the http header of the short url page. If the header contains a "Location:" header, then it's a redirect, and the decoded url is the url in the "Location" header string, here is the code:&lt;/p&gt;</description>
      <pubDate>Tue, 29 Dec 2009 11:58:13 UTC</pubDate>
      <guid>https://snipplr.com/view/25668/php-tiny-url-encode-and-decode-functions</guid>
    </item>
    <item>
      <title>(PHP) Validate emails with SMTP and PHP - ginoplusio</title>
      <link>https://snipplr.com/view/25505/validate-emails-with-smtp-and-php</link>
      <description>&lt;p&gt;This function validate a mail address in a smart way: if the address to validate has a correct syntax (checked with regular expression), it tries to connect to the mx server of the address. This means that the program have to use the smtp protocol to talk with each mx server registered in the dns for that domain address.&#13;
When a connection with an mx server is established, the program presents himself with the $probe_address (if no probe_address is specified it will use the SERVER_ADMIN setting of the php.ini file) and asks to send a mail message to the address to validate. If the server responds that the destination mailbox is ok, it stops and return ok value, else it gives you the bad answer of the mail server.&lt;/p&gt;</description>
      <pubDate>Sun, 27 Dec 2009 05:27:33 UTC</pubDate>
      <guid>https://snipplr.com/view/25505/validate-emails-with-smtp-and-php</guid>
    </item>
    <item>
      <title>(PHP) PHP bot for meteo google - ginoplusio</title>
      <link>https://snipplr.com/view/25389/php-bot-for-meteo-google</link>
      <description>&lt;p&gt;This is a mini bot Iâ€™ve made for meteo that retrieves informations from italian Google servers about weather forecast of a specified city (not only italian cities).&lt;/p&gt;</description>
      <pubDate>Thu, 24 Dec 2009 09:43:21 UTC</pubDate>
      <guid>https://snipplr.com/view/25389/php-bot-for-meteo-google</guid>
    </item>
    <item>
      <title>(PHP) PHP Session class with encrypted cookies - ginoplusio</title>
      <link>https://snipplr.com/view/25182/php-session-class-with-encrypted-cookies</link>
      <description>&lt;p&gt;Iâ€™ve made this class that can use normal session variables, or cookies. This class can use cookies in two ways: store a single variable in each cookie, or pack many variables, encrypt, and store them into cookies.&#13;
&#13;
Now I always use this class when I have to use session/cookies and when I know that I have not to put too many bytes in cookies (since cookie size is limited).&lt;/p&gt;</description>
      <pubDate>Mon, 21 Dec 2009 17:39:38 UTC</pubDate>
      <guid>https://snipplr.com/view/25182/php-session-class-with-encrypted-cookies</guid>
    </item>
    <item>
      <title>(PHP) Detect user language with PHP - ginoplusio</title>
      <link>https://snipplr.com/view/24897/detect-user-language-with-php</link>
      <description>&lt;p&gt;Function to detect user language in php.&lt;/p&gt;</description>
      <pubDate>Wed, 16 Dec 2009 06:57:21 UTC</pubDate>
      <guid>https://snipplr.com/view/24897/detect-user-language-with-php</guid>
    </item>
    <item>
      <title>(PHP) Dir size recursive php function - ginoplusio</title>
      <link>https://snipplr.com/view/24824/dir-size-recursive-php-function</link>
      <description>&lt;p&gt;Calculate dir size recursive, follow the link above because the version above is better.&lt;/p&gt;</description>
      <pubDate>Tue, 15 Dec 2009 11:32:25 UTC</pubDate>
      <guid>https://snipplr.com/view/24824/dir-size-recursive-php-function</guid>
    </item>
    <item>
      <title>(PHP) How many users are connected to a site. - ginoplusio</title>
      <link>https://snipplr.com/view/24198/how-many-users-are-connected-to-a-site</link>
      <description>&lt;p&gt;Count how many users are connected to a site (execute this function in every page, put it in the header).&lt;/p&gt;</description>
      <pubDate>Thu, 03 Dec 2009 05:13:59 UTC</pubDate>
      <guid>https://snipplr.com/view/24198/how-many-users-are-connected-to-a-site</guid>
    </item>
    <item>
      <title>(PHP) Get IP address in PHP - ginoplusio</title>
      <link>https://snipplr.com/view/24197/get-ip-address-in-php</link>
      <description>&lt;p&gt;How to get the ip address of the user.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Dec 2009 05:12:23 UTC</pubDate>
      <guid>https://snipplr.com/view/24197/get-ip-address-in-php</guid>
    </item>
    <item>
      <title>(PHP) Truncate text preserving keywords - ginoplusio</title>
      <link>https://snipplr.com/view/23666/truncate-text-preserving-keywords</link>
      <description>&lt;p&gt;This function truncates text preserving the keyords specified, usefull for search results that should highlight found words.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Nov 2009 09:26:18 UTC</pubDate>
      <guid>https://snipplr.com/view/23666/truncate-text-preserving-keywords</guid>
    </item>
    <item>
      <title>(PHP) Recursive chmod - ginoplusio</title>
      <link>https://snipplr.com/view/22175/recursive-chmod</link>
      <description>&lt;p&gt;recursively chmod files to 644 and directories to 755&lt;/p&gt;</description>
      <pubDate>Fri, 30 Oct 2009 09:48:36 UTC</pubDate>
      <guid>https://snipplr.com/view/22175/recursive-chmod</guid>
    </item>
  </channel>
</rss>
