<?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>Adam Williams - PHP Web Developer Leeds, UK</title>
	<atom:link href="http://root-servers.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://root-servers.co.uk</link>
	<description>PHP Web Developer Leeds</description>
	<lastBuildDate>Wed, 11 Jan 2012 06:28:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Blog moving&#8230;</title>
		<link>http://root-servers.co.uk/2011/blog/blog-moving.html</link>
		<comments>http://root-servers.co.uk/2011/blog/blog-moving.html#comments</comments>
		<pubDate>Sun, 11 Dec 2011 11:50:53 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=352</guid>
		<description><![CDATA[I&#8217;ve had this WordPress site for ages and it has served me well, however I&#8217;d like to use the domain for something more server related, rather being a portfolio site. The plan therefore is to move the web geekery over to my new domain gky.me.uk. So if you&#8217;re looking for something that used to be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had this WordPress site for ages and it has served me well, however I&#8217;d like to use the domain for something more server related, rather being a portfolio site. The plan therefore is to move the web geekery over to my new domain <a href="http://gky.me.uk">gky.me.uk</a>. So if you&#8217;re looking for something that used to be here the chances are that it&#8217;s probably now located on the new site.</p>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/blog/blog-moving.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing a brandable, cross-browser, multi-platform Internet Radio Player</title>
		<link>http://root-servers.co.uk/2011/graphic-design/developing-a-brandable-cross-browser-multi-platform-internet-radio-player.html</link>
		<comments>http://root-servers.co.uk/2011/graphic-design/developing-a-brandable-cross-browser-multi-platform-internet-radio-player.html#comments</comments>
		<pubDate>Mon, 28 Nov 2011 18:51:32 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Graphic Design]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=350</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://root-servers.co.uk/wp-content/uploads/2011/11/rp.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/graphic-design/developing-a-brandable-cross-browser-multi-platform-internet-radio-player.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RadioPanel radio automation system</title>
		<link>http://root-servers.co.uk/2011/web-development/radiopanel-radio-automation-system.html</link>
		<comments>http://root-servers.co.uk/2011/web-development/radiopanel-radio-automation-system.html#comments</comments>
		<pubDate>Mon, 28 Nov 2011 18:39:17 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Web Design & Development]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=342</guid>
		<description><![CDATA[Developed a control panel system to manage and automate various admin functions for radio stations. The panel is multi-site and multi-user capable and is currently used by Leeds Indie Radio and Radio MOJO in Liverpool. The project was developed in OOP PHP 5 using the CodeIgniter framework. I also used jQuery and HTML5 for features [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://root-servers.co.uk/wp-content/uploads/2011/11/radiopanel1.jpg" alt="" style="width:500px" /></p>
<p>Developed a control panel system to manage and automate various admin functions for radio stations. The panel is multi-site and multi-user capable and is currently used by Leeds Indie Radio and Radio MOJO in Liverpool.</p>
<p>The project was developed in OOP PHP 5 using the CodeIgniter framework. I also used jQuery and HTML5 for features such as the audio uploader. I also wrote functions to read and write ID3 tracks to the MP3s prior to them being uploaded to the radio playlist system (Centova Cast) via the API.</p>
<p>I plan to develop further tools for the panel in the future, such as an automated radio show producer.</p>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/web-development/radiopanel-radio-automation-system.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to strip out UK postcode segments using PHP</title>
		<link>http://root-servers.co.uk/2011/blog/how-to-strip-out-uk-postcode-segments-using-php.html</link>
		<comments>http://root-servers.co.uk/2011/blog/how-to-strip-out-uk-postcode-segments-using-php.html#comments</comments>
		<pubDate>Tue, 09 Aug 2011 14:14:14 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[is_numeric]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[postcode]]></category>
		<category><![CDATA[substr]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=331</guid>
		<description><![CDATA[Here&#8217;s a quick bit of code I put together to read a UK postcode and spit out the various sections; the city identifier, the area and then the final street identifier: $pcarr = explode(' ', $this-&#62;input-&#62;post('companyPostcode')); $pc0 = $pcarr[0]; if(is_numeric(substr($pc0, 1,1))){ $pca = substr($pc0, 0,1); } else { $pca = substr($pc0, 0,2); } // $pca [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick bit of code I put together to read a UK postcode and spit out the various sections; the city identifier, the area and then the final street identifier:</p>
<pre>
$pcarr = explode(' ', $this-&gt;input-&gt;post('companyPostcode'));
$pc0 = $pcarr[0];
if(is_numeric(substr($pc0, 1,1))){
	$pca = substr($pc0, 0,1);
} else {
	$pca = substr($pc0, 0,2);
}
// $pca = city identifier
// $pc0 = full first segment
// $pc1 = street level segment
</pre>
<p>I hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/blog/how-to-strip-out-uk-postcode-segments-using-php.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web design for local business</title>
		<link>http://root-servers.co.uk/2011/web-development/web-design-for-local-business.html</link>
		<comments>http://root-servers.co.uk/2011/web-development/web-design-for-local-business.html#comments</comments>
		<pubDate>Thu, 04 Aug 2011 20:57:14 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Web Design & Development]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=295</guid>
		<description><![CDATA[Designed an XHTML valid website for a local delicatessen. The site is static but uses CSS 3 and various jQuery libraries to enhance the user interface.]]></description>
			<content:encoded><![CDATA[<p>Designed an XHTML valid website for a local delicatessen. The site is static but uses CSS 3 and various jQuery libraries to enhance the user interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/web-development/web-design-for-local-business.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Leeds Indie Radio front end launched</title>
		<link>http://root-servers.co.uk/2011/web-development/new-leeds-indie-radio-front-end-launched.html</link>
		<comments>http://root-servers.co.uk/2011/web-development/new-leeds-indie-radio-front-end-launched.html#comments</comments>
		<pubDate>Thu, 04 Aug 2011 20:52:04 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Web Design & Development]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=292</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/web-development/new-leeds-indie-radio-front-end-launched.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Call to undefined function: json_encode()</title>
		<link>http://root-servers.co.uk/2011/blog/fatal-error-call-to-undefined-function-json_encode.html</link>
		<comments>http://root-servers.co.uk/2011/blog/fatal-error-call-to-undefined-function-json_encode.html#comments</comments>
		<pubDate>Fri, 22 Jul 2011 10:08:42 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=284</guid>
		<description><![CDATA[If you are receiving the Fatal error: Call to undefined function: json_encode() error hopefully this article will help. The reason for the error is because PHP cannot fine the function. The JSON functions are not built in to PHP (&#60; 5.2) and is only available within the PECL libraries.  Ok, so that&#8217;s a whole lot of acronyms [...]]]></description>
			<content:encoded><![CDATA[<p>If you are receiving the <strong>Fatal error: Call to undefined function: json_encode()</strong> error hopefully this article will help.</p>
<p>The reason for the error is because PHP cannot fine the function. The JSON functions are not built in to PHP (&lt; 5.2) and is only available within the PECL libraries.  Ok, so that&#8217;s a whole lot of acronyms but it&#8217;s not nearly as scary as it sounds. Here&#8217;s some things to check:</p>
<ul>
<li>Is PECL installed? To test you need to connect to your server in a terminal via SSH and simply type <strong>pecl</strong> then hit enter. If you get a list of program options then you know it&#8217;s working. If you get a command not found error you need to first install the PEAR libraries via your distro&#8217;s package manager, i.e. <strong>yum install php-pear</strong></li>
<li>Once you know you have PECL and the PEAR libraries installed you need to check that the JSON extension is enabled. To do this first run <strong>ls /etc/php.d</strong> and see if there&#8217;s a file called json.ini. If there is then open it up and check that it says <strong>extension=json.so</strong> and that the line is not commented out (line should not start with a <strong>; </strong>).</li>
<li>If the file does not exist then open up <strong>/etc/php.ini</strong> in a text editor (such as nano) and look for a line that says <strong>extension=json.so</strong>. If you see it there then  check that it isn&#8217;t commented out. If it isn&#8217;t in there, or as a separate file in /etc/php.d then add a line at the bottom of the <strong>/etc/php.ini </strong>file with <strong>extension=json.so</strong> then just save the file.</li>
<li>To initiate the change you need to restart Apache. To do this you should be able to run something like <strong>service httpd restart</strong>.</li>
</ul>
<div>This should solve the issue.</div>
<div><em>Note, I work on the CENTOS operating system so some of the commands may vary slightly from distro to distro.</em></div>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/blog/fatal-error-call-to-undefined-function-json_encode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to mount NTFS drive using CentOS 5</title>
		<link>http://root-servers.co.uk/2011/blog/linux-systems-admin/how-to-mount-ntfs-drive-using-centos-5.html</link>
		<comments>http://root-servers.co.uk/2011/blog/linux-systems-admin/how-to-mount-ntfs-drive-using-centos-5.html#comments</comments>
		<pubDate>Sat, 04 Jun 2011 15:17:38 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Linux Systems Admin]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=279</guid>
		<description><![CDATA[I recently had a problem mounting a USB NTFS drive on a fresh CentOS 5 installation where it said unknown type ntfs when I tried using the mount command. Here&#8217;s how I solved the issue: Open up a prompt/SSH and login as root Download the RPM release for your version of CentOS (i386/X86_64) using wget [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a problem mounting a USB NTFS drive on a fresh CentOS 5 installation where it said unknown type ntfs when I tried using the <strong>mount</strong> command. Here&#8217;s how I solved the issue:</p>
<p>Open up a prompt/SSH and login as root</p>
<p>Download the RPM release for your version of CentOS (i386/X86_64) using wget &#8230; The 64 bit version is <a href="http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm">http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm</a></p>
<pre>cd /tmp; wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm</pre>
<p>Install the associated GPG key</p>
<pre>rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt</pre>
<p>Verify the RPM package you downloaded</p>
<pre>rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm</pre>
<p>Install the RPM package</p>
<pre>rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm</pre>
<p>Now the RPMForge repository is set up we should be able to install the packages required to mount NTFS&#8230;</p>
<pre>yum install fuse fuse-ntfs-3g</pre>
<p>You should then be able to mount the drive using something like</p>
<pre>mount -t ntfs /dev/sdc1 /media/usb</pre>
<p><em>Note: If you need to find the name of your drive use the fdisk -l command. Also if you wish to mount to say /media/usb you need to first create that empty directory using mkdir /media/usb</em></p>
<p>I hope this helps <img src='http://root-servers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>References:</p>
<ul>
<li>http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-5aabf02717d5b6b12d47edbc5811404998926a1b</li>
<li>http://wiki.centos.org/TipsAndTricks/NTFS</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/blog/linux-systems-admin/how-to-mount-ntfs-drive-using-centos-5.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5.6 netinstall hangs on install VirtualBox</title>
		<link>http://root-servers.co.uk/2011/blog/centos-5-6-netinstall-hangs-on-install-virtualbox.html</link>
		<comments>http://root-servers.co.uk/2011/blog/centos-5-6-netinstall-hangs-on-install-virtualbox.html#comments</comments>
		<pubDate>Mon, 30 May 2011 10:44:59 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://root-servers.co.uk/?p=276</guid>
		<description><![CDATA[I&#8217;ve recently tried install both the 32 bit and 64 bit versions of CentOS 5.6 on VirtualBox. After enabling the &#8216;Enable IO APIC&#8217; in the system settings of VirtualBox I was able to get the install at least as far as the splash screen appearing and it saying that it was preparing to install, then [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently tried install both the 32 bit and 64 bit versions of CentOS 5.6 on VirtualBox. After enabling the &#8216;Enable IO APIC&#8217; in the system settings of VirtualBox I was able to get the install at least as far as the splash screen appearing and it saying that it was preparing to install, then it just hangs (forever).</p>
<p>I don&#8217;t have a workaround for the netinstall as yet however you can get around it by <strong>downloading the full DVD version</strong> instead and mounting disk one as a virtual CD drive, followed by the second.</p>
<p>I hope this helps anyone who is getting frustrated trying to install CentOS as a VM!</p>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/blog/centos-5-6-netinstall-hangs-on-install-virtualbox.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Launched new micro-blog to act as virtual DJ during radio shows</title>
		<link>http://root-servers.co.uk/2011/web-development/leeds-indie-radio-liv.html</link>
		<comments>http://root-servers.co.uk/2011/web-development/leeds-indie-radio-liv.html#comments</comments>
		<pubDate>Sun, 13 Mar 2011 17:54:51 +0000</pubDate>
		<dc:creator>Adam Williams</dc:creator>
				<category><![CDATA[Web Design & Development]]></category>

		<guid isPermaLink="false">http://adamwilliams.name/?p=268</guid>
		<description><![CDATA[Integrates with Twitter and uses the Bit.ly API for URL shortening.]]></description>
			<content:encoded><![CDATA[<p><a href="http://root-servers.co.uk/wp-content/uploads/2011/03/Picture-3.png"><img class="alignnone size-medium wp-image-269" title="Picture 3" src="http://root-servers.co.uk/wp-content/uploads/2011/03/Picture-3-300x261.png" alt="" width="300" height="261" /></a></p>
<p>Integrates with Twitter and uses the Bit.ly API for URL shortening.</p>
]]></content:encoded>
			<wfw:commentRss>http://root-servers.co.uk/2011/web-development/leeds-indie-radio-liv.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

