<?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>The Pointing Cow</title>
	<atom:link href="http://www.thepointingcow.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thepointingcow.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 15 Nov 2009 10:30:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Web Design Inspiration</title>
		<link>http://www.thepointingcow.co.uk/2009/11/web-design-inspiration/</link>
		<comments>http://www.thepointingcow.co.uk/2009/11/web-design-inspiration/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 00:01:16 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thepointingcow.co.uk/?p=38</guid>
		<description><![CDATA[This post is just for some inspiring designs that I have found around the internet.










]]></description>
			<content:encoded><![CDATA[<p>This post is just for some inspiring designs that I have found around the internet.</p>
<p><img src="http://speckyboy.com/wp-content/uploads/2009/10/designinspiration1.jpg" alt="" width="650" /><br />
<img src="http://speckyboy.com/wp-content/uploads/2009/09/designreview1.jpg" alt="" width="650" /><br />
<img src="http://www.graphicrating.com/wp-content/uploads/2009/07/KISSmetrics.jpg" alt="" width="650" /><br />
<img src="http://www.agencytool.com/blog/wp-content/uploads/2009/06/ripie6.jpg" alt="" width="650" /><br />
<img src="http://farm4.static.flickr.com/3367/3294051398_927c2f18f0.jpg" alt="" width="650" /><br />
<img src="http://farm4.static.flickr.com/3475/3294050422_90ef19ab56.jpg" alt="" width="650" /><br />
<img src="http://daveghent.com/blog/wp-content/uploads/2009/08/Picture-3.png" alt="" width="650" /><br />
<img src="http://www.reencoded.com/wp-content/uploads/2009/08/paulagodoy_design.jpg" alt="" width="650" /><br />
<img src="http://blog.echoenduring.com/wp-content/uploads/2009/09/design-inspiration.jpg" alt="" width="650" /><br />
<img src="http://www.iainclaridge.co.uk/blog/wp-content/uploads/0509/pol2.jpg" alt="" width="650" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepointingcow.co.uk/2009/11/web-design-inspiration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LAMP install on Ubuntu Server</title>
		<link>http://www.thepointingcow.co.uk/2009/11/lamp-install-on-ubuntu-server/</link>
		<comments>http://www.thepointingcow.co.uk/2009/11/lamp-install-on-ubuntu-server/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 18:05:28 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.thepointingcow.co.uk/?p=35</guid>
		<description><![CDATA[In this guide I will show you how to install a LAMP system.]]></description>
			<content:encoded><![CDATA[<p>In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is intended to help those who have very little knowlegde of using Linux.</p>
<p><strong>Install Apache</strong></p>
<p>To start off we will install Apache.</p>
<p>1. Open up the Terminal (Applications &gt; Accessories &gt; Terminal).</p>
<p>2. Copy/Paste the following line of code into Terminal and then press enter:</p>
<p><code>sudo apt-get install apache2</code></p>
<p>3. The Terminal will then ask you for you&#8217;re password, type it and then press enter.</p>
<p><strong>Testing Apache</strong></p>
<p>To make sure everything installed correctly we will now test Apache to ensure it is working properly.</p>
<p>1. Open up any web browser and then enter the following into the web address:</p>
<p><code>http://localhost/</code></p>
<p>You should see a folder entitled apache2-default/. Open it and you will see a message saying &#8220;It works!&#8221; , congrats to you!</p>
<p><strong>Install PHP</strong></p>
<p>In this part we will install PHP 5.</p>
<p>Step 1. Again open up the Terminal (Applications &gt; Accessories &gt; Terminal).</p>
<p>Step 2. Copy/Paste the following line into Terminal and press enter:</p>
<p><code>sudo apt-get install php5 libapache2-mod-php5</code></p>
<p>Step 3. In order for PHP to work and be compatible with Apache we must restart it. Type the following code in Terminal to do this:</p>
<p><code>sudo /etc/init.d/apache2 restart</code></p>
<p><strong>Test PHP</strong></p>
<p>To ensure there are no issues with PHP let&#8217;s give it a quick test run.</p>
<p>Step 1. In the terminal copy/paste the following line:</p>
<p><code>sudo gedit /var/www/testphp.php</code></p>
<p>This will open up a file called phptest.php.</p>
<p>Step 2. Copy/Paste this line into the phptest file:</p>
<p><code><?php echo "PHP is working!" ;?></code></p>
<p>Step 3. Save and close the file.</p>
<p>Step 4. Now open you&#8217;re web browser and type the following into the web address:</p>
<p><code>http://localhost/testphp.php</code></p>
<p>The page should say: PHP is working!</p>
<p>Congrats you have now installed both Apache and PHP!</p>
<p><strong>Install MySQL</strong></p>
<p>To finish this guide up we will install MySQL. (Note &#8211; Out of Apache and PHP, MySQL is the most difficult to set up.)</p>
<p>Step 1. Once again open up Terminal and then copy/paste this line:</p>
<p><code>sudo apt-get install mysql-server</code></p>
<p>Step 2 (optional). In order for other computers on your network to view the server you have created, you must first edit the &#8220;Bind Address&#8221;. Begin by opening up Terminal to edit the my.cnf file.</p>
<p><code>gksudo gedit /etc/mysql/my.cnf</code></p>
<p>Change the line</p>
<p><code>bind-address = 127.0.0.1</code></p>
<p>And change the 127.0.0.1 to your IP address.</p>
<p>Step 3. This is where things may start to get tricky. Begin by typing the following into Terminal:</p>
<p><code>mysql -u root</code></p>
<p>Following that copy/paste this line:</p>
<p><code>mysql > SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');</code></p>
<p>(Make sure to change yourpassword to a password of your choice.)</p>
<p>Step 4. We are now going to install a program called phpMyAdmin which is an easy tool to edit your databases. Copy/paste the following line into Terminal:</p>
<p><code>sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin</code></p>
<p>After that is installed our next task is to get PHP to work with MySQL. To do this we will need to open a file entitled php.ini. To open it type the following:</p>
<p><code>gksudo gedit /etc/php5/apache2/php.ini</code></p>
<p>Now we are going to have to uncomment the following line by taking out the semicolon (;).</p>
<p>Change this line:<br />
<code>;extension=mysql.so</code></p>
<p>To look like this:<br />
<code>extension=mysql.so</code></p>
<p>Now just restart Apache and you are all set!</p>
<p><code>sudo /etc/init.d/apache2 restart</code></p>
<p>All being well, you should have a fully functioning LAMP server setup! If you encounter problems the best advice I can give you is that Google is your friend!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepointingcow.co.uk/2009/11/lamp-install-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to create a PHP login form</title>
		<link>http://www.thepointingcow.co.uk/2009/11/how-to-create-a-php-login-form/</link>
		<comments>http://www.thepointingcow.co.uk/2009/11/how-to-create-a-php-login-form/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 17:39:24 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thepointingcow.co.uk/?p=24</guid>
		<description><![CDATA[A quick tutorial on creating a basic PHP login form.]]></description>
			<content:encoded><![CDATA[<p>A quick tutorial on creating a basic PHP login form.</p>
<p>Create a new php file, we will call this one login.php for the tutorial.<br />
In login.php we need to add a form for the user to enter their credentials:</p>
<p><code>&#60;form action="login_check.php" method="post"><br />
	&#60;label>User Name</label><br />
	&#60;input type="text" name="user" /><br />
	&#60;label>Password</label><br />
	&#60;input type="password" name="pass" />&#60;br /><br />
	&#60;button type="submit" name="submit">Sign in</button><br />
&#60;/form></code></p>
<p>Now we create login_check.php. In there we put the following code:</p>
<p><code>&#60;?php<br />
// Set the username and password here<br />
	$user = "username";<br />
	$pass = "password";<br />
if ($_POST['user']==$user &#038;&#038; $_POST['pass']==$pass){<br />
        $pass_secure = md5($pass); // Add md5 encryption to the password<br />
	$expire=time()+60*60*24*30; //Set the expiration of the cookie<br />
	setcookie("username", $user, $expire); // Add a cookie called "username"<br />
	setcookie ("password", $pass_secure, $expire); //Add a cookie called "password"<br />
	header('Location: whatever_page_you_want.php');<br />
}<br />
else {<br />
       echo "Incorrect username/password";<br />
}<br />
}<br />
?></code></p>
<p>Effectively, the code above checks the username and password, if they match then it sets a cookie for the username and password.</p>
<p>Now if you add this code to the top of every page you want protected by the login script then if these cookies are not set, it will redirect you back to the login page:<br />
<code>&#60;?php<br />
if(!$_COOKIE['username'] || !$_COOKIE['pass']){<br />
     header('Location: login.php');<br />
}<br />
?></code></p>
<p>Pretty simple eh? This form is by no means secure as it stores the login data using cookies. Even thought the password has been encrypted using md5, it can still be decoded! You have been warned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepointingcow.co.uk/2009/11/how-to-create-a-php-login-form/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Project Guitar</title>
		<link>http://www.thepointingcow.co.uk/2009/10/my-project-guitar/</link>
		<comments>http://www.thepointingcow.co.uk/2009/10/my-project-guitar/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 14:28:34 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Guitar Stuff]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Guitar]]></category>

		<guid isPermaLink="false">http://www.thepointingcow.co.uk/?p=13</guid>
		<description><![CDATA[A few weeks ago, I completed building my latest project guitar! I just thought I would share the photos of the latest addition to the guitar family.]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I completed building my latest project guitar! I just thought I would share the photos of the latest addition to the guitar family.</p>
<p><img class="alignnone" title="Guitar 1" src="http://farm3.static.flickr.com/2450/3878361253_4544bb0c67_m.jpg" alt="" width="240" height="180" /> <img class="alignnone" title="Guitar 2" src="http://farm3.static.flickr.com/2465/3878362605_fbd55530f1_m.jpg" alt="" width="133" height="178" /> <img class="alignnone" title="Guitar 3" src="http://farm4.static.flickr.com/3498/3879158810_941fc34f37_m.jpg" alt="" width="240" height="180" /> <img class="alignnone" title="Guitar 5" src="http://farm4.static.flickr.com/3492/3879160794_75ba41db13_m.jpg" alt="" width="240" height="180" /> <img class="alignnone" title="Guitar 6" src="http://farm3.static.flickr.com/2605/3878367851_d412a4231c_m.jpg" alt="" width="240" height="180" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepointingcow.co.uk/2009/10/my-project-guitar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 has arrived</title>
		<link>http://www.thepointingcow.co.uk/2009/10/windows-7-has-arrived/</link>
		<comments>http://www.thepointingcow.co.uk/2009/10/windows-7-has-arrived/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 12:58:01 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Snail Mail]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.thepointingcow.co.uk/?p=9</guid>
		<description><![CDATA[Having pre-ordered my copy of Windows 7 2 months ago, it arrived today, 6  days after release. ]]></description>
			<content:encoded><![CDATA[<p>Having pre-ordered my copy of Windows 7 2 months ago, it arrived today, 6  days after release. Now isn&#8217;t the whole idea of pre-ordering an item to get you the prodcut on the day of the release before everbody else? I could have gone to my local <span style="text-decoration: line-through;">PC World</span> PC store, and picked up a copy myself!</p>
<p>I have however been using the release candidate of Windows 7 for some time now, and I love it. I really do. I have never in my life got so excited about a Micorosoft release as I am usually sat in the corner on my Apple Mac looking down at anybody with a windows beige box. W7 has changed that for me.</p>
<p>I guess the best way I can decribe it is having the same reliability as XP Pro, but with 80% of the Vista looks and 20% fresh new visuals. I&#8217;ve been running it for a couple of months now and i&#8217;ve not had a single crash or problem with it. I just can&#8217;t believe that this is Windows.<br />
Kudos to the team at Microsoft, but don&#8217;t get me wrong, I would still choose a shiny new iMac over a PC.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepointingcow.co.uk/2009/10/windows-7-has-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to the blog!</title>
		<link>http://www.thepointingcow.co.uk/2009/10/welcome-to-the-blog/</link>
		<comments>http://www.thepointingcow.co.uk/2009/10/welcome-to-the-blog/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 12:03:52 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[Welcome]]></category>

		<guid isPermaLink="false">http://www.thepointingcow.co.uk/?p=3</guid>
		<description><![CDATA[Well, here it is. My new blog. A fresh Wordpress install, a fresh domain and a chance to write some fresh content.]]></description>
			<content:encoded><![CDATA[<p>Well, here it is. My new blog. A fresh Wordpress install, a fresh domain and a chance to write some fresh content.</p>
<p>I have always had a problem with blogging. I have always found the need to fill my posts with boring blurb to fill out my posts so that there is something substantial for any poor soul who comes across my writings to read. Because of this, I got into an endless frenzy of writing blog posts just comprising of lists of cool stuff I found. Now don&#8217;t get me wrong, a post with a list of good resources is like gold to some of us, but a blog full of these posts is like drowning in a sea of honey. It&#8217;s sweet but overwhelming.</p>
<p>A couple of days ago, I had a realisation. I have an account on twitter (@dazjones) and send out on avergage 4 &#8211; 6 &#8216;tweets&#8217; a day. I have no problem with &#8216;tweeting&#8217; my thoughts and finds, so why do I have a problem blogging them? Twitter is just like a blog but each post is alot smaller! I always think that nobody would be intersted in what I have to say, but Twitter seems to be putting a handful of (potentially) interested readers in front of me, which is great!</p>
<p>My realisation was that I don&#8217;t have a problem tweeting because I don&#8217;t think about it. If I discover something, or think something worth sharing, I tweet it. It&#8217;s like second nature to me now. So I am going to give this a go with blogging, the &#8216;no thinking&#8217; approach. If I have some thoughts, I will blog them. I am sure only a few of these posts will actually get published here, but if nearly 500 people follow me and a handful find my tweets of interest, maybe I can write something worthwile.</p>
<p>So, the summary of this rather long winded tale is: I have a new blog and I am going to attempt to use it.</p>
<p>Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepointingcow.co.uk/2009/10/welcome-to-the-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
