<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - oso96_2000</title>
<link>http://snipplr.com/users/oso96_2000</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 14:19:47 GMT</pubDate>
<item>
<title>(PHP) Censor bad words with regexp</title>
<link>http://snipplr.com/view/6332/censor-bad-words-with-regexp/</link>
<description><![CDATA[ <p>This function uses the power of regexp to check if some bad word are on the text, also offers the posibility to change those word for something else. Examples:\r\n\r\n$texto = \'fuck off!\';\r\nfiltrado($texto); returns true since a bad word has been found on the text\r\nfiltrado($texto, \'[censored]\'); //returns [censored] off!\r\n\r\nAnd because regexp, this will work with something like \"fck off!\". You can see a more detailed example here:\r\nhttp://www.otaku-anime.com/varios/filtro.php -- Example\r\nhttp://www.otaku-anime.com/varios/filtro.php?source -- Source code of the example</p> ]]></description>
<pubDate>Mon, 19 May 2008 16:39:57 GMT</pubDate>
<guid>http://snipplr.com/view/6332/censor-bad-words-with-regexp/</guid>
</item>
<item>
<title>(PHP) function thumb</title>
<link>http://snipplr.com/view/2158/function-thumb/</link>
<description><![CDATA[ <p>With this function you can make a thumbnail from an image.
Usage:
$image = "something.jpg";
thumb($image, 100, 100);

It can be easy modified to accept other types of images, actually only support jpeg, gif and png. Gif images lost their animation, and png or gif image lost their transparency.</p> ]]></description>
<pubDate>Sun, 11 Feb 2007 22:45:28 GMT</pubDate>
<guid>http://snipplr.com/view/2158/function-thumb/</guid>
</item>
</channel>
</rss>
