<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Development Tutorials</title>
	<atom:link href="http://www.pk-tuts.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pk-tuts.co.uk</link>
	<description>Written By Peter Kelly</description>
	<lastBuildDate>Sun, 07 Mar 2010 18:58:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Check For Empty Values</title>
		<link>http://www.pk-tuts.co.uk/php/php-functions/check-for-empty-values?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-functions/check-for-empty-values#comments</comments>
		<pubDate>Mon, 30 Nov 2009 22:07:12 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Functions]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[check empty form field]]></category>
		<category><![CDATA[empty check]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[form field]]></category>
		<category><![CDATA[String]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=252</guid>
		<description><![CDATA[In this tutorial we will create a function to check if a field is empty in either a string or an array. So this could be used to do a simple check on if a form field is left blank. I will show you an example on how to use it to check if a [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-functions/check-for-empty-values/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect Globals</title>
		<link>http://www.pk-tuts.co.uk/php/php-functions/protect-globals?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-functions/protect-globals#comments</comments>
		<pubDate>Mon, 30 Nov 2009 21:56:23 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Functions]]></category>
		<category><![CDATA[COOKIE]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[globals]]></category>
		<category><![CDATA[htmlentities]]></category>
		<category><![CDATA[is_array]]></category>
		<category><![CDATA[POST]]></category>
		<category><![CDATA[protection]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SESSION]]></category>
		<category><![CDATA[strip_tags]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=250</guid>
		<description><![CDATA[This tutorial is an advancement to the first tutorial (here). This tutorial is able to run every time the page loads and removes any tags and helps stop injection into globals such as $_COOKIE, $_SERVER etc.

So first we must create the function so here it is

function protection&#40;&#41; // start function
&#123;
	$vars = array&#40;'$_GET', '$_POST', '$_FILES', '$_SERVER', [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-functions/protect-globals/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving But No Renaming?</title>
		<link>http://www.pk-tuts.co.uk/ssh-bash/moving-but-no-renaming?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/ssh-bash/moving-but-no-renaming#comments</comments>
		<pubDate>Sun, 15 Nov 2009 17:52:10 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[SSH/Bash]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[Folders]]></category>
		<category><![CDATA[Move]]></category>
		<category><![CDATA[MV]]></category>
		<category><![CDATA[Rename]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=244</guid>
		<description><![CDATA[In this short and simple tutorial we will look into why there is no function for renaming in SSH. Or is there!!

Moving files is simple with the command

mv FILE_LOCATION NEW_LOCATION

. Simple well if you have ever wanted to rename a file or folder then you will probably have found that there is no dedicated command [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/ssh-bash/moving-but-no-renaming/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capitalization In Strings</title>
		<link>http://www.pk-tuts.co.uk/php/php-tutorials/php-beginners/capitalization-in-strings?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-tutorials/php-beginners/capitalization-in-strings#comments</comments>
		<pubDate>Thu, 12 Nov 2009 17:19:29 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Beginners]]></category>
		<category><![CDATA[4 functions]]></category>
		<category><![CDATA[lcfirst]]></category>
		<category><![CDATA[manipulate]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[strings]]></category>
		<category><![CDATA[strtolower]]></category>
		<category><![CDATA[strtoupper]]></category>
		<category><![CDATA[ucfirst]]></category>
		<category><![CDATA[ucwords]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=241</guid>
		<description><![CDATA[Manipulating strings for use with capitals is a simple job in PHP as there are 5 functions built in to help you with this task. strtoupper, strtolower, ucwords, ucfirst and lcfirst. In this tutorial I will show you how to use them and examples included.

strtoupper
strtoupper will capitalize all letters in the string given.

&#60;?php
$string = &#34;hello [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-tutorials/php-beginners/capitalization-in-strings/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check what people searched in search engines for your site</title>
		<link>http://www.pk-tuts.co.uk/php/php-tutorials/check-what-people-searched-in-search-engines-for-your-site?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-tutorials/check-what-people-searched-in-search-engines-for-your-site#comments</comments>
		<pubDate>Thu, 12 Nov 2009 15:48:28 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=238</guid>
		<description><![CDATA[Find out what people have searched on search engines to access your website. A similar feature can be found on google.com/webmasters but that&#8217;s is a 3&#8242;rd party script where as this can be hosted directly on your site.

So first we need to choose what search engines we want recorded. To do this I will do [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-tutorials/check-what-people-searched-in-search-engines-for-your-site/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>License Your Scripts</title>
		<link>http://www.pk-tuts.co.uk/php/php-tutorials/license-your-scripts?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-tutorials/license-your-scripts#comments</comments>
		<pubDate>Mon, 02 Nov 2009 14:55:41 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[Check]]></category>
		<category><![CDATA[CURL]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Encrypt]]></category>
		<category><![CDATA[get domain]]></category>
		<category><![CDATA[get server ip]]></category>
		<category><![CDATA[License]]></category>
		<category><![CDATA[Local]]></category>
		<category><![CDATA[Protect $_POST]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=234</guid>
		<description><![CDATA[After a week off in the lake district im now back and ready for some coding. So heres a license system which will allow you to license off your coding work to only users you choose.

So we must understand what will happen

Now we know what needs to happen lets start making it. First you need [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-tutorials/license-your-scripts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic PHP Template System</title>
		<link>http://www.pk-tuts.co.uk/php/php-functions/basic-php-template-system?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-functions/basic-php-template-system#comments</comments>
		<pubDate>Tue, 20 Oct 2009 19:18:40 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Functions]]></category>
		<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[Parse]]></category>
		<category><![CDATA[parse_tpl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Smarty]]></category>
		<category><![CDATA[split template]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[TPL]]></category>
		<category><![CDATA[tpl array replace]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=230</guid>
		<description><![CDATA[In this tutorial we will learn how to make a basic php template system. Which will allow us to include the template files into our php code.

So first lets define where and what our template files are called and where they are stored.

DEFINE&#40;&#34;TEMPLATE_DIR&#34;, &#34;/&#34;&#41;; // Set Templates Directory
DEFINE&#40;&#34;TEMPLATE_EXT&#34;, &#34;.tpl&#34;&#41;; // Set Template Files Extension

Now we [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-functions/basic-php-template-system/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Twitter Tweet</title>
		<link>http://www.pk-tuts.co.uk/php/php-functions/update-twitter-tweet?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-functions/update-twitter-tweet#comments</comments>
		<pubDate>Sun, 11 Oct 2009 23:19:08 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Functions]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[CURL]]></category>
		<category><![CDATA[Insert Tweet]]></category>
		<category><![CDATA[Rand]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Tweet]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Twitter API]]></category>
		<category><![CDATA[Update Status]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=219</guid>
		<description><![CDATA[So in my previous tutorial you have learnt how to get the latest twitter status well now we will learn how to update the twitter status with a random predefined message.

So here is the function that we will use to update the twitter.

function update_twitter&#40;$msg&#41; // Start Update Twitter Function
&#123;
&#160;
    $username = &#34;TWITTER [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-functions/update-twitter-tweet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL + PHP Simple Pagination</title>
		<link>http://www.pk-tuts.co.uk/php/php-tutorials/mysql-php-simple-pagination?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-tutorials/mysql-php-simple-pagination#comments</comments>
		<pubDate>Sun, 11 Oct 2009 15:49:39 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[Multiple Pages]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[Pagination]]></category>
		<category><![CDATA[Simple]]></category>
		<category><![CDATA[Split]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=215</guid>
		<description><![CDATA[Pagination is used to allow you to split up rows in a MySQL table into multiple pages. In this tutorial we will show you how you can make a simple version.

So lets get started first we need to sort out the variables. We will need 2 variables offset and limit.

/**
 * SORT OUT VARIABLES
 */
$offset [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-tutorials/mysql-php-simple-pagination/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Store An Array</title>
		<link>http://www.pk-tuts.co.uk/php/php-functions/store-an-array?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://www.pk-tuts.co.uk/php/php-functions/store-an-array#comments</comments>
		<pubDate>Sun, 11 Oct 2009 14:13:41 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[PHP Functions]]></category>
		<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Base64]]></category>
		<category><![CDATA[decode]]></category>
		<category><![CDATA[destore]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[serialize]]></category>
		<category><![CDATA[Store]]></category>
		<category><![CDATA[unserialize]]></category>

		<guid isPermaLink="false">http://www.pk-tuts.co.uk/?p=213</guid>
		<description><![CDATA[In this tutorial we will learn how to encrypt an array with base64 and then serialize it so we are able to store it in a database without loosing the integrity or values.

So lets start by creating 2 functions the first of which will encrypt and serialize the array.

function store_encrypt&#40;$array&#41;
&#123; // Start function with function [...]]]></description>
		<wfw:commentRss>http://www.pk-tuts.co.uk/php/php-functions/store-an-array/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
