<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel>
<title>Webdigity tutorials</title><link>http://www.webdigity.com/index.php?action=codex</link><description>Fresh tutorials for developers</description>
 <image><title>Webdigity tutorials</title><link>http://www.webdigity.com/index.php?action=codex</link><url>http://www.webdigity.com/images/rss_logo.gif</url></image>
 <language>en</language><lastBuildDate>Sat, 18 Jul 2009 02:57:47 GMT</lastBuildDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/WebdigityTutorials" type="application/rss+xml" /><item><title>cURL: separating headers from content</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/ZVjTili-tS8/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=68</guid><description>Some times I need to fetch a page with its headers. The problem is that the cURL library can return both but there is no default way to ask for both of them separate. So here is a work around which works for most of the cases.</description>
    <pubDate>Fri, 15 May 2009 00:00:00 GMT</pubDate><category><![CDATA[Content Retrieval]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=68</feedburner:origLink></item>
<item><title>Post an RSS feed to twitter</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/B89LSRhcEWY/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=66</guid><description>A php script that you can use to post your blog&amp;#039;s feed to twitter. The script will convert urls using the twt.gs url shortening service, and it will post it to twitter along with the post&amp;#039;s title.</description>
    <pubDate>Sat, 04 Apr 2009 00:00:00 GMT</pubDate><category><![CDATA[Miscellaneous]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=66</feedburner:origLink></item>
<item><title>Search a code fragment in a directory recursive</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/4qGR_cqNAxw/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=60</guid><description>Some times we need to search the contents of many files through php. Personally I wrote this piece of code when I was using eaccelerator, and used it to search the whole server for files that are not compiled.</description>
    <pubDate>Tue, 06 Nov 2007 00:00:00 GMT</pubDate><category><![CDATA[Files &amp; Directories]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=60</feedburner:origLink></item>
<item><title>Measure page load time (php class)</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/hrnohZxGzP4/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=59</guid><description>In this tutorial we will create a basic php class with witch we will see in how much time a page loads</description>
    <pubDate>Tue, 25 Sep 2007 00:00:00 GMT</pubDate><category><![CDATA[Date &amp; Time]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=59</feedburner:origLink></item>
<item><title>Php geotargeting techniques</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/qpXhs0tcTdk/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=58</guid><description>There are many cases that we need to display different content to our users depending on the location that they are visiting our site. In this tutorial we will give some examples regarding geo targeting with php.</description>
    <pubDate>Thu, 06 Sep 2007 00:00:00 GMT</pubDate><category><![CDATA[Miscellaneous]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=58</feedburner:origLink></item>
<item><title>The fastest way to see how many people are online at your site</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/6aN_mmQO86E/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=57</guid><description>Recently after a server crash, I wanted to know which of my sites have the most users online. Knowing that information would help me to determine which site is having the extra traffic, but what is the faster way to do this?</description>
    <pubDate>Thu, 30 Aug 2007 00:00:00 GMT</pubDate><category><![CDATA[Miscellaneous]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=57</feedburner:origLink></item>
<item><title>Detecting GoogleBot with php</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/1sDwtXrp4c8/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=56</guid><description>Recently I came to a major problem with our server. After installing the mod_evasive to our server, the module treated Google bot like a Ddos attacker. The results is that there are thousands of pages in our sites that Google can&amp;#039;t crawl, and that way we lose a lot of traffic.</description>
    <pubDate>Sat, 28 Jul 2007 00:00:00 GMT</pubDate><category><![CDATA[Content Retrieval]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=56</feedburner:origLink></item>
<item><title>Redirecting your old feed to FeedBurner</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/g-atRUlMDzA/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=55</guid><description>Recently I moved a feed to FeedBurner. The problem was that I wanted to redirect old users to the new feed url, but in the same time allow FeedBurner to visit the old feed in order to crawl it.</description>
    <pubDate>Wed, 25 Jul 2007 00:00:00 GMT</pubDate><category><![CDATA[Miscellaneous]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=55</feedburner:origLink></item>
<item><title>Optimizing your php code</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/c7J7koDZQKM/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=54</guid><description>In this tutorial I will try to write some basic tips on how to optimize your php code. In general those are some very basic information that can make your writing style better, and your code run faster.</description>
    <pubDate>Wed, 25 Jul 2007 00:00:00 GMT</pubDate><category><![CDATA[Development]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=54</feedburner:origLink></item>
<item><title>Backup all your databases with one click</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/MqUYTEXbX70/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=53</guid><description>This is a script usefull mostly to server admins, which will automatically detect all your mysql databases and backup/compress them.</description>
    <pubDate>Tue, 26 Sep 2006 00:00:00 GMT</pubDate><category><![CDATA[Database Management]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=53</feedburner:origLink></item>
<item><title>How to create a url blacklist in your phpLD tutorial</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/AL5OG2OOvoo/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=52</guid><description>Bellow is a modification for the popular phpLD directory script which gives you the abillity to dissalow spammers from submiting their sites to your directory.&lt;br /&gt;&lt;br /&gt;The script uses a blacklist and disallow submittions for every domain you want, including subdomains.</description>
    <pubDate>Sat, 16 Jun 2007 00:00:00 GMT</pubDate><category><![CDATA[Forms &amp; Data Validation]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=52</feedburner:origLink></item>
<item><title>A better way to handle submitted data &amp; protect your pages</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/lkRLV5kdmqQ/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=51</guid><description>This tutorial will teach you how to properly handle user submitted data as well as displaying it, and even protecting the pages the scripts are run from.</description>
    <pubDate>Thu, 19 Apr 2007 00:00:00 GMT</pubDate><category><![CDATA[Content Retrieval]]></category>
	<category><![CDATA[JavaScript]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=51</feedburner:origLink></item>
<item><title>Alexa ranking retrieval script</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/YrcgnI6nWaY/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=49</guid><description>This is a small php code snippet that helps you retrieve the alexa ranking for any web site you like.</description>
    <pubDate>Tue, 10 Apr 2007 00:00:00 GMT</pubDate><category><![CDATA[Content Retrieval]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=49</feedburner:origLink></item>
<item><title>Make your script run only from crontab</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/_Z96zT4Fazw/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=48</guid><description>Some times we want a php script not to be able to run from a web browser. For example a database backup script. This is reasonable as someone that knows the url of this script can easily abuse our web server.</description>
    <pubDate>Sat, 10 Mar 2007 00:00:00 GMT</pubDate><category><![CDATA[Miscellaneous]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=48</feedburner:origLink></item>
<item><title>Filter bad words from a sentence</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/Dh58NWMdNYA/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=47</guid><description>This code snippet will replace bad words, that you define, to asterisks. So it will replace WORD with ****</description>
    <pubDate>Tue, 09 Jan 2007 00:00:00 GMT</pubDate><category><![CDATA[Regular expressions]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=47</feedburner:origLink></item>
<item><title>Download files with cURL</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/9LNBXTkLaig/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=45</guid><description>A snippet that helps you download files from the web, with the use of the well known cURL library for php.</description>
    <pubDate>Wed, 13 Dec 2006 00:00:00 GMT</pubDate><category><![CDATA[Content Retrieval]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=45</feedburner:origLink></item>
<item><title>Protecting your forms from SQL attacks</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/Kh0hk-GcIi4/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=44</guid><description>A design flaw which can have really bad results is widely spread - not checking your form fields correctly. Here&amp;#039;s how to make it better - yet note, the used htmlentities() function has a flaw itself in apache 2.2.2 so update to 2.2.3 which contains php 5.2.0.&lt;br /&gt;&lt;br /&gt;Additional information and how to better protect your php scripts can be found at http://www.hardened-php.net/suhosin/index.html&lt;br /&gt;</description>
    <pubDate>Thu, 23 Nov 2006 00:00:00 GMT</pubDate><category><![CDATA[Forms &amp; Data Validation]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=44</feedburner:origLink></item>
<item><title>another spam protection for contact forms</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/Pk3t2vTcX2g/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=43</guid><description>Check the user input for bad words from a textfile.</description>
    <pubDate>Thu, 23 Nov 2006 00:00:00 GMT</pubDate><category><![CDATA[Forms &amp; Data Validation]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=43</feedburner:origLink></item>
<item><title>A simple way to remove spam comments</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/So6C27UT89w/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=42</guid><description>As we faced some spam problems with the trackback bot, I thought to write a simple function that checks if a message contains &amp;quot;bad words&amp;quot;, in order to prevent comment spam.</description>
    <pubDate>Wed, 01 Nov 2006 00:00:00 GMT</pubDate><category><![CDATA[Forms &amp; Data Validation]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=42</feedburner:origLink></item>
<item><title>Removing comments from a perl script</title>
    <link>http://feedproxy.google.com/~r/WebdigityTutorials/~3/-IYqbjBxfEY/index.php</link>
	<guid isPermaLink="false">http://www.webdigity.com/index.php?action=tutorial;code=41</guid><description>Latelly I was trying to optimize a perl script, and I realized that it had too many comments. Actually the half size of the script was comments, so I thought it would be easier for the perl intepreter if all the comments and empty lines would be removed from the script.</description>
    <pubDate>Thu, 26 Oct 2006 00:00:00 GMT</pubDate><category><![CDATA[Development]]></category>
	<category><![CDATA[PhP]]></category><feedburner:origLink>http://www.webdigity.com/index.php?action=tutorial;code=41</feedburner:origLink></item>
</channel></rss>
