<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/to</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 12:39:25 GMT</pubDate>
<item>
<title>(PHP) Function to Auto Convert URL into Clickable Hyperlink (Anchor  Tag) - fackz</title>
<link>http://snipplr.com/view/70906/function-to-auto-convert-url-into-clickable-hyperlink-anchor--tag/</link>
<description><![CDATA[ <p>In wordpress, if you want to auto convert all URLs in your string into clickable hyperlinks, you can actually do it using the built-in function make_clickable(). 

If you need to do that outside of wordpress, you can use the same function.
Example:
$string = 'I have some texts here and also links such as http://www.youtube.com , www.haha.com and lol@example.com. They are ready to be replaced.';
 
echo make_clickable($string);</p> ]]></description>
<pubDate>Tue, 23 Apr 2013 23:40:35 GMT</pubDate>
<guid>http://snipplr.com/view/70906/function-to-auto-convert-url-into-clickable-hyperlink-anchor--tag/</guid>
</item>
<item>
<title>(PHP) Seconds to human readable time - mburica</title>
<link>http://snipplr.com/view/67723/seconds-to-human-readable-time/</link>
<description><![CDATA[ <p>Takes a # of seconds and converts it to human readable format.
If happened within seconds-years.</p> ]]></description>
<pubDate>Sat, 13 Oct 2012 09:54:04 GMT</pubDate>
<guid>http://snipplr.com/view/67723/seconds-to-human-readable-time/</guid>
</item>
<item>
<title>(PHP) Facebook Connect Tutorial - ginoplusio</title>
<link>http://snipplr.com/view/67677/facebook-connect-tutorial/</link>
<description><![CDATA[ <p>I will show you how to crate an app for facebook to handle the facebook connect process on your web site.
Then I will show you the php code to perform the login on facebook and retrieve the informations you need for your site.
The last suggestion will point how to merge facebook users with your users.
Follow the link above to get the full tutoriall with text and images.</p> ]]></description>
<pubDate>Wed, 10 Oct 2012 20:39:36 GMT</pubDate>
<guid>http://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>http://snipplr.com/view/67650/how-to-read-facebook-like-count-for-a-url-with-php/</link>
<description><![CDATA[ <p>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.</p> ]]></description>
<pubDate>Mon, 08 Oct 2012 22:23:36 GMT</pubDate>
<guid>http://snipplr.com/view/67650/how-to-read-facebook-like-count-for-a-url-with-php/</guid>
</item>
<item>
<title>(PHP) objectToArray Part 2 - jgomez</title>
<link>http://snipplr.com/view/64196/objecttoarray-part-2/</link>
<description><![CDATA[ <p>If you want to use this in a class, change the last line to:

` return array_map(array($this, __FUNCTION__), $object ); `</p> ]]></description>
<pubDate>Wed, 28 Mar 2012 20:02:52 GMT</pubDate>
<guid>http://snipplr.com/view/64196/objecttoarray-part-2/</guid>
</item>
<item>
<title>(PHP) objectToArray - jgomez</title>
<link>http://snipplr.com/view/64195/objecttoarray/</link>
<description><![CDATA[ <p>From this URL : http://www.phpro.org/examples/Convert-Object-To-Array-With-PHP.html</p> ]]></description>
<pubDate>Wed, 28 Mar 2012 19:10:36 GMT</pubDate>
<guid>http://snipplr.com/view/64195/objecttoarray/</guid>
</item>
<item>
<title>(PHP) AlivePDF download and save to server - vamapaull</title>
<link>http://snipplr.com/view/63604/alivepdf-download-and-save-to-server/</link>
<description><![CDATA[ <p>This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server.

ActionScript 3 AlivePDF save code:
_pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");</p> ]]></description>
<pubDate>Mon, 27 Feb 2012 22:34:11 GMT</pubDate>
<guid>http://snipplr.com/view/63604/alivepdf-download-and-save-to-server/</guid>
</item>
<item>
<title>(PHP) PHP All POST Vars to MySql - psradich111</title>
<link>http://snipplr.com/view/62134/php-all-post-vars-to-mysql/</link>
<description><![CDATA[ <p>requires Ultimate MySQL Class 
http://www.phpclasses.org/package/3698-PHP-MySQL-database-access-wrapper.html</p> ]]></description>
<pubDate>Tue, 27 Dec 2011 16:54:09 GMT</pubDate>
<guid>http://snipplr.com/view/62134/php-all-post-vars-to-mysql/</guid>
</item>
<item>
<title>(PHP) Thematic Read More Skip To - scottnix</title>
<link>http://snipplr.com/view/59461/thematic-read-more-skip-to/</link>
<description><![CDATA[ <p>Set up to disable the page jump on a Read More link (skip to feature).</p> ]]></description>
<pubDate>Thu, 06 Oct 2011 05:34:33 GMT</pubDate>
<guid>http://snipplr.com/view/59461/thematic-read-more-skip-to/</guid>
</item>
<item>
<title>(PHP) Check if File Exists / Append Number to Name - dubogii</title>
<link>http://snipplr.com/view/53676/check-if-file-exists--append-number-to-name/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 17 May 2011 19:56:21 GMT</pubDate>
<guid>http://snipplr.com/view/53676/check-if-file-exists--append-number-to-name/</guid>
</item>
<item>
<title>(PHP) Change Month Number to Month Name - dubogii</title>
<link>http://snipplr.com/view/53675/change-month-number-to-month-name/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 17 May 2011 19:55:14 GMT</pubDate>
<guid>http://snipplr.com/view/53675/change-month-number-to-month-name/</guid>
</item>
<item>
<title>(PHP) Convert Array To Variables - mloberg</title>
<link>http://snipplr.com/view/49237/convert-array-to-variables/</link>
<description><![CDATA[ <p>This simply takes an array and coverts it to variables. E.g. If you had an array, $array = array("key" => "value"), after running this script, $key would be "value".</p> ]]></description>
<pubDate>Sat, 19 Feb 2011 06:50:45 GMT</pubDate>
<guid>http://snipplr.com/view/49237/convert-array-to-variables/</guid>
</item>
<item>
<title>(PHP) PHP5 prepend string to file - spaceploitator</title>
<link>http://snipplr.com/view/44906/php5-prepend-string-to-file/</link>
<description><![CDATA[ <p>A useful thingie posted by Mgccl at his site mgccl.com, just wanted to share with Snipplr.</p> ]]></description>
<pubDate>Fri, 26 Nov 2010 12:21:30 GMT</pubDate>
<guid>http://snipplr.com/view/44906/php5-prepend-string-to-file/</guid>
</item>
<item>
<title>(PHP) Object to array - jmiller</title>
<link>http://snipplr.com/view/39289/object-to-array/</link>
<description><![CDATA[ <p>Pass in object. Returns array.</p> ]]></description>
<pubDate>Thu, 19 Aug 2010 08:47:42 GMT</pubDate>
<guid>http://snipplr.com/view/39289/object-to-array/</guid>
</item>
<item>
<title>(PHP) From password string to stars (*) - ofadlaoui</title>
<link>http://snipplr.com/view/38497/from-password-string-to-stars-/</link>
<description><![CDATA[ <p>This simple snipplr will convert an password string to an censored string by stars (*). Usage:\r\n$myPwdCensored=passToStars(\\\"password\\\");\r\necho $myPwdCensored;\r\nI made this in 5min  Comment and FAV ! :-)\r\nMore PHP \"Snipplr\"s coming soon !</p> ]]></description>
<pubDate>Thu, 05 Aug 2010 06:11:00 GMT</pubDate>
<guid>http://snipplr.com/view/38497/from-password-string-to-stars-/</guid>
</item>
<item>
<title>(PHP) Redirect to - sebikovacs</title>
<link>http://snipplr.com/view/36755/redirect-to/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 06 Jul 2010 15:58:01 GMT</pubDate>
<guid>http://snipplr.com/view/36755/redirect-to/</guid>
</item>
<item>
<title>(PHP) Function to convert dates to and from Mysql - fackz</title>
<link>http://snipplr.com/view/30029/function-to-convert-dates-to-and-from-mysql/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 19 Mar 2010 11:15:20 GMT</pubDate>
<guid>http://snipplr.com/view/30029/function-to-convert-dates-to-and-from-mysql/</guid>
</item>
<item>
<title>(PHP) Code to change the file extensions of images to lowercase - el-artiste</title>
<link>http://snipplr.com/view/19822/code-to-change-the-file-extensions-of-images-to-lowercase/</link>
<description><![CDATA[ <p>This snippet is just an upgrade to the "http://snipplr.com/view/7396/php-file-extension-case-changer/" code. This particular code works on image files... although you can just change this line [if (preg_match("/(jpg|gif|png|bmp)/",$ext)) ] to target a specific filetype. ciao! hope this piece of code can help you as it has helped me. :)</p> ]]></description>
<pubDate>Wed, 16 Sep 2009 14:15:15 GMT</pubDate>
<guid>http://snipplr.com/view/19822/code-to-change-the-file-extensions-of-images-to-lowercase/</guid>
</item>
<item>
<title>(PHP) Function for putting data to the html table [two different ways] - kirik</title>
<link>http://snipplr.com/view/18106/function-for-putting-data-to-the-html-table-two-different-ways/</link>
<description><![CDATA[ <p>This function is very helpfull when you need to put some data (that was gotten from database) to HTML table. You can choose vertical or horizontal types.

**Horizontal type:**

| 1 | 2 | 3 |

| 4 | 5 | 6 |

| 7 | 8 | 9 |

**Vertical type:**

| 1 | 4 | 7 |

| 2 | 5 | 8 |

| 3 | 6 | 9 |


* hope you will sort it out (:</p> ]]></description>
<pubDate>Sun, 09 Aug 2009 16:32:59 GMT</pubDate>
<guid>http://snipplr.com/view/18106/function-for-putting-data-to-the-html-table-two-different-ways/</guid>
</item>
<item>
<title>(PHP) Hex to RGB - Unreal</title>
<link>http://snipplr.com/view/17907/hex-to-rgb/</link>
<description><![CDATA[ <p>Another hex to RGB function. Probably pointless me sharing it but ah well.</p> ]]></description>
<pubDate>Wed, 05 Aug 2009 01:30:23 GMT</pubDate>
<guid>http://snipplr.com/view/17907/hex-to-rgb/</guid>
</item>
</channel>
</rss>