<?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>JayGilford.com</title>
	<atom:link href="http://www.jaygilford.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaygilford.com</link>
	<description>Numerous articles on PHP, MySQL and Apache files</description>
	<lastBuildDate>Tue, 06 Sep 2011 12:35:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Rackspace Cloud Files USA to the UK service free php migration script</title>
		<link>http://www.jaygilford.com/php/rackspace-cloud-files-usa-to-the-uk-service-free-php-migration-script/</link>
		<comments>http://www.jaygilford.com/php/rackspace-cloud-files-usa-to-the-uk-service-free-php-migration-script/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 12:32:38 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=123</guid>
		<description><![CDATA[Recently I&#8217;ve moved from Rackspace cloud US to the UK, and as such needed to transfer a large amount of data from my cloud files. Rackspace will not provide this service for customers unfortunately due to many legal hoops required when handling customer data, therefore I had to create a solution of my own to [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/rackspace-cloud-files-usa-to-the-uk-service-free-php-migration-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple timer class for benchmarking in PHP</title>
		<link>http://www.jaygilford.com/php/simple-timer-class-for-benchmarking/</link>
		<comments>http://www.jaygilford.com/php/simple-timer-class-for-benchmarking/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 19:46:04 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[timer]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=113</guid>
		<description><![CDATA[Here&#8217;s a simple timer class that I wrote to help with benchmarking tests while running PHP code, in order to see how quick code is running, although it can be used for any timer functionality really. I have clearly documented the code below, along with an example of how to use the timer /******************************************************************************* * [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/simple-timer-class-for-benchmarking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the PHP Document Object Model (DOM) to get all page links</title>
		<link>http://www.jaygilford.com/php/php-dom-get-all-pagelinks/</link>
		<comments>http://www.jaygilford.com/php/php-dom-get-all-pagelinks/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 16:27:03 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Common questions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Document Object Model]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[DOMDocument]]></category>
		<category><![CDATA[Friends]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=103</guid>
		<description><![CDATA[Further to the article I wrote about parsing links from a html page, here is a more elegant and accurate solution to getting every link using the Document Object Model (DOM) /** * @author Jay Gilford */ /** * get_links() * * @param string $url * @return array */ function get_links($url) { // Create a [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/php-dom-get-all-pagelinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to reset your wordpress administrator password</title>
		<link>http://www.jaygilford.com/uncategorized/how-to-reset-your-wordpress-administrator-password/</link>
		<comments>http://www.jaygilford.com/uncategorized/how-to-reset-your-wordpress-administrator-password/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 01:18:57 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=96</guid>
		<description><![CDATA[Save the file from the download link below into your root wordpress directory, then go to your WordPress site (http://www.yoursite.com/wp-directory/wpreset.php) Select the administrator account from the drop down, enter a new password and click the button to reset it Here&#8217;s the PHP code with commenting for anyone interested in how it works //Load wordpress bootstrap [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/uncategorized/how-to-reset-your-wordpress-administrator-password/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Number to text converting PHP class</title>
		<link>http://www.jaygilford.com/php/number-to-text-converting-php-class/</link>
		<comments>http://www.jaygilford.com/php/number-to-text-converting-php-class/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 14:19:42 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Common questions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[common]]></category>
		<category><![CDATA[numbers]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=89</guid>
		<description><![CDATA[One thing that gets asked quite a bit on forums is how to convert a number into words in PHP, so I thought I&#8217;d write a small class that can do this Here is the code for the class class num2text { private $_original = 0; private $_parsed_number_text = ''; private $_single_nums = array(1 => [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/number-to-text-converting-php-class/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>how to get all links from a web page</title>
		<link>http://www.jaygilford.com/php/common-questions/how-to-get-all-links-from-a-web-page/</link>
		<comments>http://www.jaygilford.com/php/common-questions/how-to-get-all-links-from-a-web-page/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 00:13:46 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Common questions]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=85</guid>
		<description><![CDATA[A question that gets asked all the time on forums is &#8220;How do I get all links on a web page&#8221; inside of &#60;a&#62; tags, so here&#8217;s some code with full commenting for each line /** * @author Jay Gilford */ // regular expression pattern to match all links on a page $pattern = '%]+href="(?P[^"]+)"[^>*]*>(?P[^< [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/common-questions/how-to-get-all-links-from-a-web-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting up virtual hosts in apache on a windows machine</title>
		<link>http://www.jaygilford.com/apache/setting-up-virtual-hosts-in-apache-on-a-windows-machine/</link>
		<comments>http://www.jaygilford.com/apache/setting-up-virtual-hosts-in-apache-on-a-windows-machine/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 20:28:49 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Apache Web Server]]></category>
		<category><![CDATA[virtual host]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=80</guid>
		<description><![CDATA[Navigate to your apache folder and find the conf folder (for WAMP this is C:\wamp\bin\apache\apache{version number here}\conf\ by default, for xampp this is C:\xampp\apache\conf\ by default) Next open the httpd.conf file, and search for the line that has Include conf/extra/httpd-vhosts.conf on it. If there is a # before the line, delete it leaving only Include [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/apache/setting-up-virtual-hosts-in-apache-on-a-windows-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Completely customisable PHP pagination class</title>
		<link>http://www.jaygilford.com/php/completely-customisable-php-pagination-class/</link>
		<comments>http://www.jaygilford.com/php/completely-customisable-php-pagination-class/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 21:36:48 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[advanced]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[paginate]]></category>
		<category><![CDATA[pagination]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=68</guid>
		<description><![CDATA[If you need to paginate your database results quickly and reliably then this could be the class for you. It allows you complete access to all attributes of the pagination, from the link templates to the results padding, and auto querying. /******************************************************************************* * Pagination class * * Created: 12th January 2009 * * Updated: 16th [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/completely-customisable-php-pagination-class/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Gracefully handling errors in php using advanced techniques</title>
		<link>http://www.jaygilford.com/php/gracefully-handling-errors-in-php-using-advanced-techniques/</link>
		<comments>http://www.jaygilford.com/php/gracefully-handling-errors-in-php-using-advanced-techniques/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 20:31:08 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[advanced]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[error handling]]></category>
		<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=45</guid>
		<description><![CDATA[There are a few ways in which you can handle errors in PHP. You can do the not so smart thing and just turn them off altogether using ini_set('error_reporting',0); //or error_reporting(0); However this is not a good idea, and should never happen. If you want to hide all of your errors, you can set it [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/gracefully-handling-errors-in-php-using-advanced-techniques/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sprintf and mysql_real_escape_string all in one function</title>
		<link>http://www.jaygilford.com/php/sprintf-and-mysql_real_escape_string-all-in-one-function/</link>
		<comments>http://www.jaygilford.com/php/sprintf-and-mysql_real_escape_string-all-in-one-function/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 19:23:37 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[call_user_func_array]]></category>
		<category><![CDATA[mressf]]></category>
		<category><![CDATA[mysql_real_escape_string]]></category>
		<category><![CDATA[sprintf]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=40</guid>
		<description><![CDATA[Well as many php developers will know, there is the arduous task of having to sanitize all of your data before actually being able to add it to your queries for running in MySQL. So I decided to make a small function that would basically be a clone of the sprintf function, with the added [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/sprintf-and-mysql_real_escape_string-all-in-one-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>random redirects to sites with php script</title>
		<link>http://www.jaygilford.com/php/random-redirects-to-sites-with-php-script/</link>
		<comments>http://www.jaygilford.com/php/random-redirects-to-sites-with-php-script/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 18:53:45 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=26</guid>
		<description><![CDATA[I was asked to create a script that would produce an even number of visits to each of three sites. I decided that I would skip the checking of making sure each site had a fair amount and instead generate the url randomly, since by the laws of averages, the number of redirects to each [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/random-redirects-to-sites-with-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>creating random activation links for downloads</title>
		<link>http://www.jaygilford.com/php/creating-random-activation-links-for-downloads/</link>
		<comments>http://www.jaygilford.com/php/creating-random-activation-links-for-downloads/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 18:59:57 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[activation]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=15</guid>
		<description><![CDATA[This article is intended for advanced users. It explains the principles behind creating a download activation link that is completely random and will stay active for 48 hours after a payment through paypal for example is made You are going to need two files for this to work. The first is going to be the [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/creating-random-activation-links-for-downloads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php random string generator function</title>
		<link>http://www.jaygilford.com/php/php-random-string-generator-function/</link>
		<comments>http://www.jaygilford.com/php/php-random-string-generator-function/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 14:04:48 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=14</guid>
		<description><![CDATA[Many people need a random string for things such as salts, activation keys and new passwords. Here&#8217;s a simple but versatile function to return a random string function rand_text( $min = 10, $max = 20, $randtext = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' ) { if($min < 1) $min=1; $varlen = rand($min,$max); $randtextlen = strlen($randtext); $text = ''; for($i=0; $i [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/php-random-string-generator-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get incoming email via PHP and cPanel</title>
		<link>http://www.jaygilford.com/php/incoming-email-via-php-and-cpanel/</link>
		<comments>http://www.jaygilford.com/php/incoming-email-via-php-and-cpanel/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 01:55:59 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php email cpanel]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=12</guid>
		<description><![CDATA[This may be possible to do with other control panel software such as plesk, although I have only done so with cPanel Open your cPanel homepage, and navigate to the Mail panel Select the Default Address option At the bottom of the page, click the Advanced Options » Select the Pipe to a Program: radio [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/incoming-email-via-php-and-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to process a form with php using one page</title>
		<link>http://www.jaygilford.com/php/how-to-process-a-form-with-php-using-one-page/</link>
		<comments>http://www.jaygilford.com/php/how-to-process-a-form-with-php-using-one-page/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 01:15:33 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[same]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.jaygilford.com/?p=11</guid>
		<description><![CDATA[Many first time coders in PHP tend to use a form on one page, and a PHP script on a completely different page in order to process it. This is highly irritating since you need to make two pages instead of one, and also, if there is an error you have to redirect back to [...]]]></description>
		<wfw:commentRss>http://www.jaygilford.com/php/how-to-process-a-form-with-php-using-one-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.jaygilford.com @ 2012-05-18 16:53:58 -->
