<?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>SeeIT Consult &#187; Tech Blog</title>
	<atom:link href="http://www.seeit.org/category/tech-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seeit.org</link>
	<description>Web Programming &#38; IT Consultancy</description>
	<lastBuildDate>Sun, 29 Jan 2012 17:34:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Forcing Linux To Shutdown Or Reboot</title>
		<link>http://www.seeit.org/2011/05/25/forcing-linux-to-shutdown-or-reboot/</link>
		<comments>http://www.seeit.org/2011/05/25/forcing-linux-to-shutdown-or-reboot/#comments</comments>
		<pubDate>Wed, 25 May 2011 10:35:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2011/05/25/forcing-linux-to-shutdown-or-reboot/</guid>
		<description><![CDATA[shutdown -r NOW halt reboot not working for you? To force a shutdown: echo 1 &#62; /proc/sys/kernel/sysrq echo b &#62; /proc/sysrq-trigger And for a reboot: echo 1 &#62; /proc/sys/kernel/sysrq echo o &#62; /proc/sysrq-trigger Thanks to Nasser Heidari for the tip. Continue reading ‘Forcing Linux To Shutdown Or Reboot’ »]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px;"><code>shutdown -r NOW<br />
halt<br />
reboot</code></p>
<p>not working for you?<br />
To force a shutdown:</p>
<p style="padding-left: 30px;"><code>echo 1 &gt; /proc/sys/kernel/sysrq<br />
echo b &gt; /proc/sysrq-trigger</code></p>
<p>And for a reboot:</p>
<p style="padding-left: 30px;"><code>echo 1 &gt; /proc/sys/kernel/sysrq<br />
echo o &gt; /proc/sysrq-trigger</code></p>
<p>Thanks to Nasser Heidari for the tip.</p>
<p><a class="more-link" href="http://blog.seeit.org/2011/05/forcing-linux-to-shutdown-or-reboot/">Continue reading ‘Forcing Linux To Shutdown Or Reboot’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2011/05/25/forcing-linux-to-shutdown-or-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Choosing a VPS Web Hosting Provider</title>
		<link>http://www.seeit.org/2010/09/21/choosing-a-vps-web-hosting-provider/</link>
		<comments>http://www.seeit.org/2010/09/21/choosing-a-vps-web-hosting-provider/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 15:20:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2010/09/21/choosing-a-vps-web-hosting-provider/</guid>
		<description><![CDATA[You would think that many of your worries are reduced when you move from shared web hosting to a virtual private server (VPS) but as my experiences testify, there is are some pretty frightening stories out there. I have dealt with 3 VPS providers in the past year and this post goes through some of [...]]]></description>
			<content:encoded><![CDATA[<p>You would think that many of your worries are reduced when you move from shared web hosting to a virtual private server (VPS) but as my experiences testify, there is are some pretty frightening stories out there.<br />
I have dealt with 3 VPS providers in the past year and this post goes through some of my [...]</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/09/choosing-a-vps-web-hosting-provider/">Continue reading ‘Choosing a VPS Web Hosting Provider’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/09/21/choosing-a-vps-web-hosting-provider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP mail() with Ubuntu Desktop and Gmail</title>
		<link>http://www.seeit.org/2010/08/26/php-mail-with-ubuntu-desktop-and-gmail/</link>
		<comments>http://www.seeit.org/2010/08/26/php-mail-with-ubuntu-desktop-and-gmail/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 18:43:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2010/08/26/php-mail-with-ubuntu-desktop-and-gmail/</guid>
		<description><![CDATA[Recently I was adapting a newsletter plugin for WordPress and needed the PHP mail() function for testing. However an Ubuntu desktop install is missing Sendmail &#8211; the MTA that PHP expects to find on a Linux PC. I use a local Apache/MySQL server on a laptop to do a lot of my development &#8211; I [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was adapting a newsletter plugin for WordPress and needed the PHP mail() function for testing. However an Ubuntu desktop install is missing Sendmail &#8211; the MTA that PHP expects to find on a Linux PC.<br />
I use a local Apache/MySQL server on a laptop to do a lot of my development &#8211; I don&#8217;t [...]</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/08/php-mail-with-ubuntu-desktop-and-gmail/">Continue reading ‘PHP mail() with Ubuntu Desktop and Gmail’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/08/26/php-mail-with-ubuntu-desktop-and-gmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: The include() include_once() performance debate</title>
		<link>http://www.seeit.org/2010/06/11/php-the-include-include_once-performance-debate/</link>
		<comments>http://www.seeit.org/2010/06/11/php-the-include-include_once-performance-debate/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 08:40:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2010/06/11/php-the-include-include_once-performance-debate/</guid>
		<description><![CDATA[The conventional wisdom always said that PHP’s include()/require() was quicker than include_once()/require_once(), but recently I came across an interesting post by Arin Sarkissian which suggests otherwise. Also I found more commentary on the performance benefit of using relative versus absolute paths in include()/require() and include_once()/require_once() statements (although the main article’s conclusions contradict Arin’s experiments). The [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="The include() include_once() debate" src="http://blog.seeit.org/wp-content/uploads/2010/06/dreamhost-php5-results1-150x150.jpg" alt="" width="150" height="150" />The conventional wisdom always said that PHP’s include()/require() was quicker than include_once()/require_once(), but recently I came across <a title="Link: Arin Sarkissian PHP experiment" href="http://arin.me/blog/php-require-vs-include-vs-require_once-vs-include_once-performance-test" target="_blank">an interesting post by Arin Sarkissian which suggests otherwise</a>.</p>
<p>Also I found <a href="http://www.techyouruniverse.com/software/php-performance-tip-require-versus-require_once#comment-2615" target="_blank">more commentary on the performance benefit of using relative versus absolute paths in include()/require() and include_once()/require_once() statements</a> (although the main article’s conclusions contradict Arin’s experiments). <a href="http://drupal.org/node/259623" target="_blank">The Drupal developers discussed and benchmarked the relative/absolute include() issue too</a>.</p>
<p>So in keeping with the spirit of quick and dirty experimentation I hacked up some code and ran some tests on include()/require() against include_once()/require_once() and on the relative/absolute path issue. The results are pretty surprising and I love to hear some views.</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/06/php-the-include-include_once-performance-debate/">Continue reading ‘PHP: The include() include_once() performance debate’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/06/11/php-the-include-include_once-performance-debate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beware: ISP’s as Hosting Companies – watch your DNS</title>
		<link>http://www.seeit.org/2010/05/25/beware-isp%e2%80%99s-as-hosting-companies-%e2%80%93-watch-your-dns/</link>
		<comments>http://www.seeit.org/2010/05/25/beware-isp%e2%80%99s-as-hosting-companies-%e2%80%93-watch-your-dns/#comments</comments>
		<pubDate>Tue, 25 May 2010 12:33:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2010/05/25/beware-isp%e2%80%99s-as-hosting-companies-%e2%80%93-watch-your-dns/</guid>
		<description><![CDATA[The symptom You cease your contract with your hosting company, cancel your contract and move your web site. People start to complain that they cannot reach your web site. Nothing seems out of order. The problem: You were hosting with a major ISP (like Eircom, Magnet or BT Ireland). They put DNS entries into their [...]]]></description>
			<content:encoded><![CDATA[<h3>The symptom</h3>
<p>You cease your contract with your hosting company, cancel your contract and move your web site. People start to complain that they cannot reach your web site. Nothing seems out of order.</p>
<h3>The problem:</h3>
<p>You were hosting with a major ISP (like Eircom, Magnet or BT Ireland). They put DNS entries into their servers for your web site. When you cancel your contract they should remove these entries. Magnet and BT Ireland are two companies that are negligent in this regard. If they don’t remove these DNS entries, then their customers can have problems reaching your new web site. <a href="http://blog.seeit.org/2010/05/beware-isp-hosting-companies-watch-your-dns/#more-22"><br />
</a></p>
<p><a class="more-link" href="http://blog.seeit.org/2010/05/beware-isp-hosting-companies-watch-your-dns/">Continue reading ‘Beware: ISP’s as Hosting Companies – watch your DNS’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/05/25/beware-isp%e2%80%99s-as-hosting-companies-%e2%80%93-watch-your-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Runas to Add/Remove Programs/Hardware in Windows XP</title>
		<link>http://www.seeit.org/2010/04/21/using-runas-to-addremove-programshardware-in-windows-xp/</link>
		<comments>http://www.seeit.org/2010/04/21/using-runas-to-addremove-programshardware-in-windows-xp/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 10:49:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2010/04/21/using-runas-to-addremove-programshardware-in-windows-xp/</guid>
		<description><![CDATA[Very useful if you run as a ‘restricted user’ (i.e. not a ‘power user’ or ‘administrator’): Step 1: Get a CMD shell (‘DOS box’) as Administrator: runas /user:administrator cmd You will be asked for the Administrator password. Continue reading ‘Using Runas to Add/Remove Programs/Hardware in Windows XP’ »]]></description>
			<content:encoded><![CDATA[<p>Very useful if you run as a ‘restricted user’ (i.e. not a ‘power user’ or ‘administrator’):</p>
<p>Step 1: Get a CMD shell (‘DOS box’) as Administrator:</p>
<pre>runas /user:administrator cmd</pre>
<p>You will be asked for the Administrator password.</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/04/runas-to-add-remove-programs-hardware-windows-xp/">Continue reading ‘Using Runas to Add/Remove Programs/Hardware in Windows XP’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/04/21/using-runas-to-addremove-programshardware-in-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Parse error:  syntax error, unexpected T_STRING in /whatever/my-php-class.php.html on line 1 with PhpDocumentor files on CentOS</title>
		<link>http://www.seeit.org/2010/04/06/php-parse-error-syntax-error-unexpected-t_string-in-whatevermy-php-class-php-html-on-line-1-with-phpdocumentor-files-on-centos/</link>
		<comments>http://www.seeit.org/2010/04/06/php-parse-error-syntax-error-unexpected-t_string-in-whatevermy-php-class-php-html-on-line-1-with-phpdocumentor-files-on-centos/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 10:07:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2010/04/06/php-parse-error-syntax-error-unexpected-t_string-in-whatevermy-php-class-php-html-on-line-1-with-phpdocumentor-files-on-centos/</guid>
		<description><![CDATA[Symptom: An XML file saved as something.php.html Apache was trying to parse it as PHP and throwing an error because Short_open_tag was ‘on’ Fix: Add the following to an .htaccess file in the folder (or a parent folder): php_value short_open_tag off I don’t know if this is a ‘bug’ or a ‘feature’. I don’t see [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img class="alignright size-full wp-image-391" title="apache-logo" src="http://www.seeit.org/wp-content/uploads/2010/04/apache-logo.jpeg" alt="" width="104" height="78" />Symptom:</strong></p>
<ul>
<li>An XML file saved as something.php.html</li>
<li>Apache was trying to parse it as PHP and throwing an error because Short_open_tag was ‘on’</li>
</ul>
<p><strong>Fix:</strong></p>
<p style="padding-left: 30px;">Add the following to an .htaccess file in the folder (or a parent folder):</p>
<pre>php_value short_open_tag off</pre>
<p>I don’t know if this is a ‘bug’ or a ‘feature’. I don’t see why Apache should be interpreting *.php.html [...]</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/04/php-parse-error-syntax-error-unexpected-t_string-in-whatevermy-php-class-php-html-on-line-1-with-phpdocumentor-files-on-centos-2/">Continue reading ‘PHP Parse error:  syntax error, unexpected T_STRING in /whatever/my-php-class.php.html on line 1 with PhpDocumentor files on CentOS’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/04/06/php-parse-error-syntax-error-unexpected-t_string-in-whatevermy-php-class-php-html-on-line-1-with-phpdocumentor-files-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unlimited Google Adwords for a Fixed Fee – Not!</title>
		<link>http://www.seeit.org/2010/03/22/unlimited-google-adwords-for-a-fixed-fee-%e2%80%93-not/</link>
		<comments>http://www.seeit.org/2010/03/22/unlimited-google-adwords-for-a-fixed-fee-%e2%80%93-not/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 18:37:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.seeit.org/2010/03/22/unlimited-google-adwords-for-a-fixed-fee-%e2%80%93-not/</guid>
		<description><![CDATA[A client was approached the other day with an offer that sounds too good to be true. Well guess what, it is! For more information, Webphoria (a UK web development company) has the story of the AdWords scam, and James from Online Media Direct checked it out the story with Google. If you are approached [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-311" title="adwords_logo" src="http://www.seeit.org/wp-content/uploads/2010/03/adwords_logo.gif" alt="adwords_logo" width="204" height="40" />A client was approached the other day with an offer that sounds too good to be true. Well guess what, it is!</p>
<p>For more information, <a title="Webphoria: Can a company offer you unlimited Google Adword clicks for a fixed fee?" href="http://www.webphoria.co.uk/amstron-technologies-unlimited-google-adwords-for-fixed-fee-scam-or-not.asp" target="_blank">Webphoria (a UK web development company) has the story of the AdWords scam</a>, and <a title="Online Media Direct: Google Adwords on Fixed Fee Beware!" href="http://blog.onlinemediadirect.co.uk/google-adwords-on-fixed-fee-beware/143/" target="_blank">James from Online Media Direct checked it out the story with Google</a>.</p>
<p>If you are approached with such [...]</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/03/unlimited-google-adwords-for-a-fixed-fee-not/">Continue reading ‘Unlimited Google Adwords for a Fixed Fee – Not!’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/03/22/unlimited-google-adwords-for-a-fixed-fee-%e2%80%93-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating IMAP Email The Easy Way</title>
		<link>http://www.seeit.org/2010/02/01/migrating-imap-email-the-easy-way/</link>
		<comments>http://www.seeit.org/2010/02/01/migrating-imap-email-the-easy-way/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 10:05:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.new.seeit.org/2010/02/01/migrating-imap-email-the-easy-way/</guid>
		<description><![CDATA[Moving email servers has always been a royal pain for me. I’ve tried many of them over the years, and migrated from nearly as many of them. However the last couple of times I put myself through the pain I came across imapsync – an excellent script that will do an IMAP to IMAP migration [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-124" title="email-icon" src="http://www.new.seeit.org/wp-content/uploads/2010/02/120px-Email_icon_crystal.png" alt="email-icon" width="120" height="120" />Moving email servers has always been a royal pain for me. I’ve tried many of them over the years, and migrated from nearly as many of them. However the last couple of times I put myself through the pain I came across imapsync – an excellent script that will do an IMAP to IMAP migration [...]</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/02/migrating-imap-email-the-easy-way/">Continue reading ‘Migrating IMAP Email The Easy Way’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/02/01/migrating-imap-email-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug your IMAP server with Telnet</title>
		<link>http://www.seeit.org/2010/01/31/debug-your-imap-server-with-telnet-2/</link>
		<comments>http://www.seeit.org/2010/01/31/debug-your-imap-server-with-telnet-2/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 14:25:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech Blog]]></category>

		<guid isPermaLink="false">http://www.new.seeit.org/2010/01/31/debug-your-imap-server-with-telnet-2/</guid>
		<description><![CDATA[Email by IMAP rocks – there are so many benefits to using it over POP3, particularly in an office environment. However many IMAP clients really suck when it comes to manipulating accounts with large messages. We recently watched a server brought to it’s knees during a email server migration – by an 165MB email containing [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-7" title="terminal" src="http://seeit.crossen.org/wp-content/uploads/2010/01/term1.png" alt="terminal" width="200" height="132" />Email by IMAP rocks – there are so many benefits to using it over POP3, particularly in an office environment. However many IMAP clients really suck when it comes to manipulating accounts with large messages. We recently watched a server brought to it’s knees during a email server migration – by an 165MB email containing [...]</p>
<p><a class="more-link" href="http://blog.seeit.org/2010/01/debug-your-imap-server-with-telnet/">Continue reading ‘Debug your IMAP server with Telnet’ »</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seeit.org/2010/01/31/debug-your-imap-server-with-telnet-2/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/

Minified using apc
Page Caching using apc (user agent is rejected)
Database Caching 7/18 queries in 0.003 seconds using apc

Served from: www.seeit.org @ 2012-02-05 02:37:41 -->
