<?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>Kaweb</title>
	<atom:link href="http://www.kaweb.co.uk/category/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kaweb.co.uk</link>
	<description>Kaweb</description>
	<lastBuildDate>Mon, 10 May 2010 10:07:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up Autoresponders for Email Accounts that use the Plesk Control Panel</title>
		<link>http://www.kaweb.co.uk/blog/setting-up-autorepsonders-for-email-accounts-that-use-the-plesk-control-panel/</link>
		<comments>http://www.kaweb.co.uk/blog/setting-up-autorepsonders-for-email-accounts-that-use-the-plesk-control-panel/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 15:31:08 +0000</pubDate>
		<dc:creator>Inky</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=507</guid>
		<description><![CDATA[Need to setup an email to auto respond to emails that are sent to you while you are out for the day or on annual leave? This post outlines how you can do just that directly within your email server (ie. as oppose to your email client/software).]]></description>
			<content:encoded><![CDATA[<p>Need to setup an email to auto respond to emails that are sent to you while you are out for the day or on annual leave? This post outlines how you can do just that directly within your email server (ie. as oppose to your email client/software). This post is based on the Plesk (Linux) Control Panel (Version 8.6), but should apply in general to all versions of Plesk that feature the Autoresponder service.</p>
<h3>Login</h3>
<p>If you are an administrator, then first login to your Plesk Control Panel and select the domain in question (if you have more than one), click on the Mail icon and  then click on the Autoresponders icon.</p>
<p>If you are a general email user, login to your Control Panel using your email user name and password and  then click on the Autoresponders icon.</p>
<h3>Autoresponder Admin</h3>
<p>Here you are able to &#8216;Add New Autoresponder&#8217; &#8211; and as add many as you like.</p>
<p>The &#8216;Add New Autoresponder&#8217; screen allows various setting and is pretty straightforward&#8230;</p>
<p>After naming your Autoresponder (eg. Holiday) you can then choose to forward the original email on to another user (eg. work colleague). Once you have then cofigured the conditions for which a responder must be applied, you are then able to detail your automated response text (that will be sent back to the email sender).</p>
<p>Finally, you can set limts as well as add an attachment to your response emails should you wish.</p>
<p>When you are done, be sure to enable each autoresponder you have setup, this is done by toggling it on/off. Also ensure the overall Autoresponder is set to on/off (which turns on/off the entire autoresponder service) otherwise your autorepsonders will not work as planned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/setting-up-autorepsonders-for-email-accounts-that-use-the-plesk-control-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Setup Stationery in Outlook Express</title>
		<link>http://www.kaweb.co.uk/blog/how-to-setup-stationery-in-outlook-express/</link>
		<comments>http://www.kaweb.co.uk/blog/how-to-setup-stationery-in-outlook-express/#comments</comments>
		<pubDate>Fri, 01 May 2009 11:23:32 +0000</pubDate>
		<dc:creator>Inky</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=390</guid>
		<description><![CDATA[We get asked this quite often so thought we'd post an article on how to use the Stationery option in Outlook Express. This post applies to Outlook Express v4 and v5.]]></description>
			<content:encoded><![CDATA[<p>Here at Kaweb, we get asked this quite often so thought we&#8217;d post an article on how to use the Stationery option in Outlook Express. This post applies to Outlook Express v4 and v5.</p>
<ul class="list">
<li>How to compose a message using stationery in Outlook Express</li>
<li>How to configure default stationery in Outlook Express</li>
<li>How to automatically add a signature or vCardin Outlook Express</li>
<li>How to create custom stationery in Outlook Express</li>
</ul>
<h4>How to Compose a Message Using Stationery in Outlook Express</h4>
<p>To compose a message using stationery, follow these steps:</p>
<ol class="list">
<li>Under the Compose menu, click New Message Using, and then click the stationery design you want to use. In Outlook Express 5, click New Message Using on the Message menu, and then choose the stationery design you want. If the stationery design you want to use is not on the list, click More Stationery to view more stationery designs.</li>
<li>Address and compose your message, and then click Send.</li>
</ol>
<h4>How to Configure Default Stationery in Outlook Express</h4>
<p>To configure Outlook Express to open all new messages with a default stationery type, you need to do the following:</p>
<ol class="list">
<li>Under the Tools menu, click Stationery. In Outlook Express 5, click Option on the Tools menu, click the  Compose tab, and then click Stationery.</li>
<li>Click the Mail tab to configure the default Mail stationery, or click the News tab to configure the default News stationery.</li>
<li>Under When Composing New Messages Use, click This Stationery, and then click Select to choose your default stationery type.</li>
<li>Click OK, and then click OK.</li>
</ol>
<h4>How to Automatically Add a Signature or vCard in Outlook Express</h4>
<p>When you compose a new message from the Insert menu, Business Card may be unavailable. This option is not available until you create a new business card entry by following the steps in this article.</p>
<p>To add an automatic signature, follow these steps:</p>
<ol class="list">
<li>On the Tools menu, click Stationery. For Outlook Express 5, select Options on the Tools menu, and then click the Signatures tab.</li>
<li>Click Signature, and then click the &#8220;Add this signature to all outgoing messages&#8221; check box to select it.</li>
<li>Type the signature in the text box, or click File and then choose a file to insert as your signature. This file can be your company logo for instance.</li>
<li>Click OK, and then click OK.</li>
</ol>
<p>To add a Personal Business Card (vCard), follow these steps:</p>
<ol class="list">
<li>On the Tools menu, click Stationery. For Outlook Express 5, click Options on the Tools menu, and then click the Compose tab.</li>
<li>Click Signature, and then click the &#8220;Attach card to all outgoing messages&#8221; check box to select it.</li>
<li>Click New, type the information to be included in the vCard, and then click OK.</li>
<li>Click OK, and then click OK.</li>
</ol>
<h4>How to Create Custom Stationery in Outlook Express</h4>
<ol class="list">
<li>Copy the .gif or .jpg graphic file that you want to use as the stationery background into the stationery folder. By default, the stationery folder is Program Files\Common Files\Microsoft    Shared\Stationery.</li>
<li>Press and hold down the SHIFT key while you right-click an .htm file in the stationery folder, click Open With, and then click Notepad.</li>
<li>On the File menu, click Save As. Type the name of the graphic file you copied into the stationery folder in the File Name box, add &#8220;.htm&#8221; (without quotation marks) as the extension, and then click OK. For example, if the file is named Flower.jpg, type &#8220;Flower.htm&#8221; in the File Name box.</li>
<li>Modify the HTML code in the .htm file so that it uses the .gif or .jpg file as the background graphic.</li>
<li>Quit Notepad.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/how-to-setup-stationery-in-outlook-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Property Mapping</title>
		<link>http://www.kaweb.co.uk/blog/property-mapping/</link>
		<comments>http://www.kaweb.co.uk/blog/property-mapping/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 13:19:06 +0000</pubDate>
		<dc:creator>neil.paterson</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[agent]]></category>
		<category><![CDATA[estate]]></category>
		<category><![CDATA[geocode]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[property]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=259</guid>
		<description><![CDATA[Due to there being no need for a commercial license, and the superior amount of support available, Kaweb plumped for Google Maps for our new service, mappr.]]></description>
			<content:encoded><![CDATA[<p>When it comes to online mapping, and in many other web applications, Google is by far the biggest player. Inevitably, there are alternatives out there &#8211; most notably <a title="Microsoft Virtual Earth" href="http://msdn.microsoft.com/en-us/virtualearth/default.aspx">Microsoft’s Virtual Earth</a>, which features a startlingly good birds eye view whereby the land is viewable at an angle from just above the buildings, allowing one an impressive 3D view of an area.</p>
<p>However, due to there being no need for a commercial license, and the superior amount of support available (including the excellent <a title="Google Maps API tutorials" href="http://econym.org.uk/gmap/">Mike Williams tutorials</a>), we at Kaweb plumped for Google Maps for our new service, <a title="mappr - property mapping form Kaweb" href="http://www.kaweb.co.uk/news/mappr-the-new-mapping-service-from-kaweb/">mappr</a>.</p>
<p>The service will be primarily used to plot estate agents’ properties on a map, allowing potential homebuyers to see what real estate is available in a given area. The aims of the project were:</p>
<p>-    Automatic geocoding from postcode data in order to plot the markers<br />
-    Summarise property info in a panel rather than the default info bubble<br />
-    Real-time updating on map movement or criteria change</p>
<h3>Automatic Geocoding</h3>
<p>Geocoding is simply the process of turning an address into a set of latitude-longtude co-ordinates. In the case of property, we intended to essentially convert the postcode into co-ordinates, to be stored in the database. However, due to the Royal Mail’s copyright, this requires payment. There are attempts at an <a title="Open UK postcode database" href="http://www.freethepostcode.org/">open database</a>, though this remains incomplete.</p>
<p>Google do offer a free <a title="Geocoding via Google Maps" href="http://googlemapsapi.blogspot.com/2007/07/uk-geocoding-now-available-in-maps-api.html">geocoding service</a> via their Maps API but the UK results are somewhat variable, over a mile off in some instances. The solution was somewhat surprising &#8211; simply use another of Google’s APIs – the AJAX Search API, in Local Search mode. Using the <a title="Google AJAX API (REST interface)" href="http://code.google.com/apis/ajaxsearch/documentation/#fonje">REST interface</a>, we were able to retrieve accurate JSON-encoded data that was simply parsed and stored. Example PHP code:</p>
<p><code>$postcode = 'WS13 6TJ';<br />
$url = "http://ajax.googleapis.com/ajax/services/search/local?v=1.0&amp;q=".urlencode($postcode);</code><br />
<code>// Note how referrer is set manually<br />
$ch = curl_init();<br />
curl_setopt($ch, CURLOPT_URL, $url);<br />
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br />
curl_setopt($ch, CURLOPT_REFERER, "http://www.kaweb.co.uk/");<br />
$body = curl_exec($ch);<br />
curl_close($ch);</code><br />
<code>// Now, process the JSON string<br />
$json = json_decode($body);</code><br />
<code>// Latitude: $json-&gt;responseData-&gt;results[0]-&gt;lat<br />
// Longitude: $json-&gt;responseData-&gt;results[0]-&gt;lng<br />
</code></p>
<h3>Display summary panel on click</h3>
<p>Rather than use the native information bubble <a href="http://code.google.com/apis/maps/documentation/reference.html#GInfoWindow">GInfoWindow</a>, which we felt was rather uninspiring, we wanted to display a semi-transparent panel overlaid on the map. The key to this was to inject the HTML into the map&#8217;s holding div once the map content had been loaded. For example, using the markup below as the document&#8217;s starting HTML would mean anything within the &#8220;map&#8221; div (i.e. mappr_panel) gets overlaid when the map is rendered.</p>
<p><code>&lt;div id="map"&gt;&lt;div id="mappr_panel"&gt;Panel Contents&lt;/div&gt;&lt;div&gt;</code></p>
<p>Instead, we used our Javascript framework of choice, <a title="jQuery" href="http://jquery.com/">jQuery</a>, in conjunction with a marker click listener.</p>
<p><code>// Create a marker called our_marker here<br />
Event.addListener(our_marker, 'click', function(){<br />
var contents = 'Marker ID: ' + our_marker.id;<br />
show_panel(contents);</code><code> });</code></p>
<p><code>function show_panel(contents){</code><code> </code><code><br />
var panel = '&lt;div id="mappr_panel"&gt;\<br />
' + contents + ' \<br />
&lt;\/div&gt;';</code></p>
<p><code> $('#map').append(panel); // Puts the panel div inside the map div...</code><code><br />
}<br />
</code></p>
<p>NOTE: jQuery&#8217;s remove() function was then used when we wanted to hide this panel.</p>
<h3>Real-time updating on map change or criteria change</h3>
<p>We needed the map to reload properties (incidentally we used an <a title="Google Maps tutorial - PHP/MySQL/XML" href="http://code.google.com/support/bin/answer.py?answer=65622&amp;topic=11364">AJAX approach</a>) and redraw following either a map movement (e.g. zoom, pan), or a change in search criteria.</p>
<p>The first was a simple case of :</p>
<p><code>GEvent.addListener(map, 'moveend', redraw_map);    // Call redraw_map() on drag / pan / zoom end</code></p>
<p>The second however, required the function to be triggered following a form change. Again, jQuery was used. By simply including <code>class="onchange"</code> on form elements that may change, we could harness jQuery&#8217;s selector syntax to actually apply the onchange event.</p>
<p><code>$(document).ready( function(){<br />
$('.onchange').change(redraw_map);<br />
}</code></p>
<p>The finished product can be seen by performing a map search at <a title="Chartex - Chartered Surveryors" href="http://www.chartex.co.uk">http://www.chartex.co.uk</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/property-mapping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows-based email accounts rejecting emails</title>
		<link>http://www.kaweb.co.uk/blog/windows-based-email-accounts-rejecting-emails/</link>
		<comments>http://www.kaweb.co.uk/blog/windows-based-email-accounts-rejecting-emails/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 15:28:00 +0000</pubDate>
		<dc:creator>Inky</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=161</guid>
		<description><![CDATA[As you may know, we recently had an issue with Windows-based email accounts (Hotmail, MSN, and Live) which were immediately rejecting emails sent from our mail servers.]]></description>
			<content:encoded><![CDATA[<p>As you may know, we recently had an issue with Windows-based email accounts (Hotmail, MSN, and Live) which were immediately rejecting emails sent from our mail servers with the following bounce message:</p>
<p><em>Remote host said: 550 OU-002 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit http://postmaster.live.com for email delivery information and support.</em><br />
Having checked all know spam blacklists, we discovered that although we were not listed, Microsoft had blocked our main email server from sending emails to these accounts.</p>
<p>Rather frustratingly, we could only sort this issue out with them through countless emails and online form-filling. Eventually they lifted the block and could not really explain in any detail why we were blocked in the first place, except to say that:</p>
<blockquote><p>Messages from your IP are being blocked based on the recommendations of the Symantec Brightmail  as traffic/e-mail originating from your IP matched characteristics of recent spam attacks from compromised, or &#8216;zombie&#8217; infected, machines.</p></blockquote>
<p>This would hint that one of the issues that might have caused it was an exploit on one of our clients computers. This could have been a virus that spawned spam emails to the account types in question.</p>
<p>To that end, we are detailing below suggested links in order to check for any infected machines within your organisation.</p>
<p><a title="Visit Live website" href="http://safety.live.com">http://safety.live.com</a></p>
<p><a title="Visit Microsoft support site" href="http://www.microsoft.com/athome/security/downloads/default.mspx">http://www.microsoft.com/athome/security/downloads/default.mspx</a></p>
<p><a title="Find out more about zombies" href="http://antivirus.about.com/od/whatisavirus/a/zombiepc.htm">http://antivirus.about.com/od/whatisavirus/a/zombiepc.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/windows-based-email-accounts-rejecting-emails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gene6 FTP Server will not restart after installing licence</title>
		<link>http://www.kaweb.co.uk/blog/gene6-ftp-server-will-not-restart-after-installing-licence/</link>
		<comments>http://www.kaweb.co.uk/blog/gene6-ftp-server-will-not-restart-after-installing-licence/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 12:55:31 +0000</pubDate>
		<dc:creator>Inky</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ftp]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=115</guid>
		<description><![CDATA[This was on a Windows Server 2008 machine.
Used the trial &#8211; great, like it, and after trying to get my head around Windows Server 2008 IIS 7 and it&#8217;s reworked FTP service, Gene6 FTP Server was a breeze.
But hey, nearly fell at the first &#8211; the service would not start up after installing the licence.
A [...]]]></description>
			<content:encoded><![CDATA[<p>This was on a Windows Server 2008 machine.</p>
<p>Used the trial &#8211; great, like it, and after trying to get my head around Windows Server 2008 IIS 7 and it&#8217;s reworked FTP service, <a title="Gene6 FTP Server website" href="http://www.g6ftpserver.com/en/home">Gene6 FTP Server</a> was a breeze.</p>
<p>But hey, nearly fell at the first &#8211; the service would not start up after <a title="Gene6 registration instructions" href="http://www.g6ftpserver.com/en/registering">installing the licence</a>.</p>
<p>A quick email to their support and they offered the following solution which works (it&#8217;s Windows DEP messing with it). Thought I&#8217;d quickly post it as I could not find the solution on the developers support site and it may help others to find the soultion more quickly.</p>
<p>Go to your Windows <strong>Control Panel</strong>, then &gt; <strong>System</strong> &gt; <strong>Advanced</strong> &gt; <strong>Performances</strong> &gt; <strong>DEP</strong>, and add <strong>g6ftpserver.exe</strong> to the exception list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/gene6-ftp-server-will-not-restart-after-installing-licence/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FileZilla will not load after force quit</title>
		<link>http://www.kaweb.co.uk/blog/filezilla-will-not-load-after-force-quit/</link>
		<comments>http://www.kaweb.co.uk/blog/filezilla-will-not-load-after-force-quit/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 16:23:16 +0000</pubDate>
		<dc:creator>neil.paterson</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[filezilla]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=114</guid>
		<description><![CDATA[FileZilla for the Mac is a gem of a program for those needing a free &#8220;traditional&#8221; FTP client (alternatives being the sleek Cyberduck and the Firefox add-on FireFTP).
Recently, however, I had a problem. I created a new site with a default local directory that had over a thousand subdirectories. Upon connecting, the program began pinwheeling, [...]]]></description>
			<content:encoded><![CDATA[<p><a title="FileZilla" href="http://filezilla-project.org/">FileZilla</a> for the Mac is a gem of a program for those needing a free &#8220;traditional&#8221; FTP client (alternatives being the sleek <a title="Cyberduck" href="http://cyberduck.ch">Cyberduck</a> and the Firefox add-on <a title="FireFTP" href="http://fireftp.mozdev.org/">FireFTP</a>).</p>
<p>Recently, however, I had a problem. I created a new site with a default local directory that had over a thousand subdirectories. Upon connecting, the program began <a title="Wikipedia article on Spinning Wait Cursor" href="http://en.wikipedia.org/wiki/Spinning_wait_cursor">pinwheeling</a>, presumably working its way through the many files. After a few minutes it was time for a cmd-click, force quit (ooh rhymy!). Upon relaunch, FileZilla was painfully slow to load. The FZ icon would happily bounce for a couple of seconds, but then it was pinwheel city again&#8230; one could only assume it was starting where it left off last time.</p>
<p>So, you&#8217;re stuck &#8211; unable to load FileZilla to change the setting that is causing FileZilla not to load. And so, as is so often the case, it&#8217;s command line to the rescue.</p>
<p>First, (force)quit FileZilla and open up a terminal. If you&#8217;re not already there, go to your personal user directory (/Users/yournamehere). An ls -la will reveal a hidden directory named .filezilla. Dive in and then edit filezilla.xml. The offending line reads as follows:</p>
<p><code>&lt;Setting name="Last local directory" type="string"&gt;path/to/directory/here&lt;/Setting&gt;</code></p>
<p>Remove that whole line, save your file, start FileZilla and enjoy port 21-action all over again! Just remember to change the local directory in the problem site before you re-connect otherwise you&#8217;ll be back to square one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/filezilla-will-not-load-after-force-quit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MSSQL Server 2005 and CodeIgniter</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/</link>
		<comments>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 11:19:32 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110</guid>
		<description><![CDATA[During development work on one of our larger projects, we uncovered some rather alarming problems when using php_mssql.dll in conjunction with SQL Server 2005 Express.  Just by perusing some of the comments over at the PHP manual, you can see that we weren&#8217;t alone.
Refreshing the page would cause the mssql_connect function to fail.  A further [...]]]></description>
			<content:encoded><![CDATA[<p>During development work on one of our larger projects, we uncovered some rather alarming problems when using <strong>php_mssql.dll</strong> in conjunction with SQL Server 2005 Express.  Just by perusing some of the comments over at the <a title="php won't connect to server 2005" href="http://uk.php.net/mssql_connect">PHP manual</a>, you can see that we weren&#8217;t alone.</p>
<p>Refreshing the page would cause the mssql_connect function to fail.  A further three or four refreshes would result in further failures, until suddenly one more refresh manages to establish a connection.  This situation would repeat itself, and is completely random.  Despite months of trying to track it down when we had spare time, we just could not get to the bottom of it.</p>
<p>A few months ago, a result began cropping up on Google that appeared to contain some answers. Part of Microsoft&#8217;s data programmability team announced they were <a title="new driver for php sql server 2005" href="http://blogs.msdn.com/sqlphp/">working a new driver</a> for PHP for use with SQL Server 2005.  Excellent, we thought!  Of course, we haven&#8217;t been able to use this driver in a production environment yet as it is still in beta and subject to change (and change it has). However, we&#8217;ve ran tests using the driver and so far, it does appear to be more stable.  The only isssue is that the symptom we were experiencing is very difficult to replicate (if nigh-on impossible), and so we cannot know for sure if the driver has aleviated the problem.</p>
<p>Parts of the project are written using an excellent framework known as <a title="Code Igniter php framework" href="http://www.codeigniter.com/">CodeIgniter</a>.  We took the liberty of also writing an php_sqlsrv.dll compatible driver for it which you can <a href="http://www.kaweb.co.uk/wp-content/2008/07/ci_php_sqlsrv.zip">download here</a>.  To use the driver, just unzip it into a folder called &#8220;<em>system/database/drivers/sqlsrv</em>&#8221; and change your <em>database.php</em> to reflect the changes (change the driver to &#8220;<em>sqlsrv</em>&#8220;).  Hopefully this will help one person that was in the same boat as us!</p>
<p>The Microsoft SQL Server 2005 driver for PHP is a PHP 5 only extension.  It allows the reading and writing of SQL Server data from within PHP scripts. The extension provides a procedural interface for accessing data in all editions (importantly, <em>including Express</em>) of SQL Server 2005 and also SQL Server 2000.  The API makes use of PHP features such as PHP streams to read and write large objects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Why Linux Servers?</title>
		<link>http://www.kaweb.co.uk/blog/why-linux-servers/</link>
		<comments>http://www.kaweb.co.uk/blog/why-linux-servers/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 15:25:28 +0000</pubDate>
		<dc:creator>jason.taylor</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=84</guid>
		<description><![CDATA[Here at Kaweb, we have a variety of servers &#8211; both Windows and Linux based.  If it wasn&#8217;t for the takeover of River Internet, we would have probably have stuck with Linux based servers for all our hosting. That said, we do think that having some Windows based servers has meant more flexibility in the [...]]]></description>
			<content:encoded><![CDATA[<p>Here at Kaweb, we have a variety of servers &#8211; both Windows and Linux based.  If it wasn&#8217;t for the <a title="Find out more about the purchase of River Internet" href="http://www.kaweb.co.uk/news/kaweb-purchase-river-internet/">takeover of River Internet</a>, we would have probably have stuck with Linux based servers for all our hosting. That said, we do think that having some Windows based servers has meant more flexibility in the services we now offer to clients.</p>
<p><strong>Linux mail server</strong></p>
<p>Over the last couple of months, we have slowly but surely, moved River Internet clients from the old Windows mail server on to our brand new Linux based one. The main reason for this was because of the spam filtering we have installed on this server (Spam Assassin) through Plesk. This, together with the fact that the server is more highly specified (it includes RAID, redundant power supply etc.) we feel Linux gives us much more control and more power when it comes to customisation. It&#8217;s flexibility, security and the amazingly low virus count (as opposed to Windows), make it ideal for what we need.</p>
<p><strong>So is Linux secure? What about BSD (unix)?</strong></p>
<p>Most of our experience has been with Linux (predominently Red Hat distributions) and although the learning curve to FreeBSD or OpenBSD would be small, Linux gives us many of the required packages and software etc we need built in. Also, the choice of Unix or Linux distribution would solely depend on the purpose you need it for. OpenBSD is an extremely secure server with many encryption options etc but for a webserver is a bit too much. We choose <a title="Visit CentOS website" href="http://www.centos.org/">CentOS 5</a> as our main Linux distribution (based on the Red Hat core) as this is very stable and performs extremely well as a web server.</p>
<p><strong>But Linux is free, are you just going for the cheap alternative?</strong></p>
<p>Not at all. Yes Linux is free but that is because it has to be under licence restrictions. Some may bring up the argument that not all Linux operating systems (OS) are free but this is wrong. The actual OS itself is free or preferably open source (allows you to view the original code yourself), but what is being paid for is usually support and proprietary software that&#8217;s not allowed to be &#8220;given&#8221; away. CentOS 5 is pretty much identical to Red Hat except all the &#8220;paid&#8221; stuff is taken out and references to Red Hat is changed to CentOS 5. But we don&#8217;t use Linux because it&#8217;s free (even though that is an advantage over Windows). We use Linux because it acts as an extremely capable, stable, flexible and very secure server. A high percentage of servers around the world use Linux or Unix including larger companies such as Google and GX Networks (Pipex).</p>
<p><strong>So are we totally disregarding Windows?</strong></p>
<p>No &#8211; not at all, some customers request hosting on a Windows based server mainly due to their need for ASP or other Windows architecture for their sites. And, although Apache in Linux does have support for ASP, it&#8217;s not completely reliable as of this date so we prefer these websites to be hosted on our Windows 2003 servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/why-linux-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sites still in Classic ASP, why?</title>
		<link>http://www.kaweb.co.uk/blog/why-are-websites-built-in-classic-asp/</link>
		<comments>http://www.kaweb.co.uk/blog/why-are-websites-built-in-classic-asp/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 15:22:11 +0000</pubDate>
		<dc:creator>Kaweb</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=89</guid>
		<description><![CDATA[Classic ASP is not to be confused with ASP used in the .NET framework, the two are very different, I&#8217;m talking about Classic ASP here. Classic ASP, was first distributed with IIS (Microsoft&#8217;s Internet Information Services) back in 1996, two further releases followed in 1997 and 2000. It was Microsoft&#8217;s first server-side script that was [...]]]></description>
			<content:encoded><![CDATA[<p>Classic ASP is not to be confused with ASP used in the .NET framework, the two are very different, I&#8217;m talking about Classic ASP here. Classic ASP, was first distributed with IIS (Microsoft&#8217;s Internet Information Services) back in 1996, two further releases followed in 1997 and 2000. It was Microsoft&#8217;s first server-side script that was used to dynamically generate web pages, so in it&#8217;s hayday was cutting edge. However, shoot forward to now, 2008 and there are still a load of new sites developed in Classic ASP, why? Surely given the rate at which internet technologies advance something would have come along that was better? Well it did, it&#8217;s called <a title="Visit PHP website" href="http://www.php.net/">PHP</a>.</p>
<p>Why is  PHP better? Well there&#8217;s two points of view for why it&#8217;s better.</p>
<p>From a coders point of view, coding in PHP is a hell of a lot easier with better documentation, plenty of resources available, frameworks to work in making it quicker to get the job done and you can easily adhere to best software practices. It is incredibly flexible and can connect to a variety of databases, most commonly used is <a title="Visit MySql website" href="http://www.mysql.com/">MySql</a> database which is (in my view) a better database system to use than MS SQL, it&#8217;s syntax, extra functionality and clear documentation that MySql gives me is ace and makes any expansions/requirements needed by the client, no problem to do at all. Which is what every client wants to hear, a yes that&#8217;s possible rather than a err, well, that could be a problem.</p>
<p>From a clients point of view &#8211; PHP is free and doesn&#8217;t need a Microsoft platform to run on (which isn&#8217;t free, you have to pay Microsoft). The database PHP uses most commonly is MySql, which is also free, unlike MS SQL (again you pay Microsoft). The resources available in PHP are vastly greater than ASP meaning whatever a client needs from their site, it&#8217;s not a problem to do in PHP. Imagine a simple image uploading tool, in ASP you have to purchase a module _just_ to handle the images, in PHP there&#8217;s a wealth of image manipulation libraries at your finger tips at no cost.</p>
<p>With the purchase of River Internet we acquired some estate agent clients whose sites were coded in ASP. The next step for us will be to advise them to have their sites recoded in PHP (for which we use a great MVC framework that builds in many SEO best practices as well as other useful classes) so as to &#8216;future-proof&#8217; their online marketing activity (now, in the present market, becoming more and more important as traditional advertising costs escalate).</p>
<p>While I&#8217;m advocating PHP here, if in another 10 years time there&#8217;s a better language out there, I&#8217;m pretty confident that we&#8217;d be using that. It doesn&#8217;t pay to be stuck in your ways when it comes to internet technologies and your clients shouldn&#8217;t have to pay for your shortcomings and not keeping an eye on trends in the future.</p>
<p>So for the love of all things good, can we please lay Classic ASP to rest?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/why-are-websites-built-in-classic-asp/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Five Mac applications web development companies shouldn&#8217;t live without</title>
		<link>http://www.kaweb.co.uk/blog/five-mac-applications-web-development-companies-shouldnt-live-without/</link>
		<comments>http://www.kaweb.co.uk/blog/five-mac-applications-web-development-companies-shouldnt-live-without/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 15:00:07 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=83</guid>
		<description><![CDATA[

Quicksilver
The motto behind Blacktree&#8217;s Quicksilver application is &#8220;act without doing&#8221;.  Whilst the technology to move the mouse pointer with out minds and write application code via telekinesis is still science fiction, Quicksilver brings this concept closer to reality.  Quicksilver is a productivity tool.  It allows me to find what I want, and [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>
<h3><a title="Quicksilver by Blacktree Software" href="http://www.blacktree.com/" target="_blank">Quicksilver</a></h3>
<p><a href="http://www.blacktree.com/"><img class="alignright size-full wp-image-88" src="http://www.kaweb.co.uk/wp-content/2008/07/48px-quicksilver_icon.png" alt="Quicksilver Icon" width="48" height="48" /></a>The motto behind Blacktree&#8217;s <em>Quicksilver</em> application is &#8220;act without doing&#8221;.  Whilst the technology to move the mouse pointer with out minds and write application code via telekinesis is still science fiction, Quicksilver brings this concept closer to reality.  Quicksilver is a productivity tool.  It allows me to find what I want, and find it immediately.  Similar to the &#8216;Live Search&#8217; tool we have in the upper right of this site, as you begin to type matches are displayed and gradually filtered down upon further key-presses.  Being a mac application, it hooks into absolutely everything.  I type a few characters of an associates&#8217; name and immediately I&#8217;m granted with the options to &#8216;copy to clipboard&#8217; their e-mail address, or display their phone number on the screen.  Set it up to browse your files, and it&#8217;ll pick up your documents as you type too.  This cuts out the messy browse through Finder, and you can open your work immediately.</p>
<p>This application borrows a lot from the idea of mouse gestures.  I suppose you could call it &#8216;keyboard gestures&#8217;, almost.  Of course, I&#8217;ve only scratched the surface here;  once you start using Quicksilver as part of your day-to-day mac work flow, you&#8217;ll wonder why Blacktree haven&#8217;t been approached to make it part of the core OS X distribution&#8230; <em>it&#8217;s that effective</em>.</li>
<li>
<h3><a title="Macromates' Textmate Editor" href="http://macromates.com/" target="_blank">Textmate</a></h3>
<p><a href="http://www.macromates.com/"><img class="alignright size-full wp-image-87" src="http://www.kaweb.co.uk/wp-content/2008/07/textmate.jpg" alt="Textmate Icon" width="50" height="50" /></a>My next entry (which is likely to cause debate) is the excellent <em>Textmate</em> plain text editor by Macromates.  At the time of writing, I have been coding on a Mac for about eighteen months.  Originally, I was skeptical about developing on a Mac, after many fruitful years of PC development.  As the majority of the machines in the Kaweb offices are Macs, I was thrown in at the deep end immediately and started work with the Adobe suite (which is a nice introduction to Macs, as I had the software for PC also).</p>
<p>Keeping an open mind initially, I learned to love my work machine; however, it isn&#8217;t just down to OS X&#8217;s BSD roots.  It&#8217;s down to the Cocoa framework and the excellent programs that are being authored for the Mac platform &#8212; <em>Textmate</em> is a perfect example of such a program.  Like most good applications, it appears initially very simplistic.  Under the hood however, is a formidable &#8216;bundle&#8217; engine that can support many (read as: any) language you care to throw at it.  Even if you are not a programmer, the text manipulation features are very useful and it&#8217;s leagues ahead of the bundled &#8216;Textedit&#8217; application that ships with OS X.</p>
<div class="tip">Are you more technically minded?  Give <a href="http://macvim.org/OSX/">gVim</a> a try.  Less so?  Then <a href="http://docs.info.apple.com/article.html?artnum=304779">Textedit</a> is fine!</div>
</li>
<li>
<h3><a title="Transmit by Panic Software" href="http://www.panic.com/transmit/">Transmit</a></h3>
<p><a href="http://www.panic.com/transmit/"><img class="alignright size-full wp-image-90" src="http://www.kaweb.co.uk/wp-content/2008/07/48px-transmit_3_icon.png" alt="Transmit" width="48" height="48" /></a>There are many FTP clients available for the Mac, but time and time again I come back to transmit.  I actually do not use it that much in the office (due to most of my work being done via Subversion repositories), but when I do need to FTP files I often choose Transmit over the competition (namely Filezilla and Cyberduck).  Panic Software, the company behind the application, have built up a large following of fans based on the quality of transmit and their popular text editor <a title="Coda by Panic Software" href="http://www.panic.com/coda">Coda</a>.  Having used the editor (which actually has Transmit seamlessly embedded within it) for awhile, it is easy to see why. Following the Apple paradigm of design, everything is neatly laid out.  The application is probably so simple, somebody completely oblivious to FTP could work out what to do to transfer files to another machine.  And isn&#8217;t that what sets great programs from just &#8220;good&#8221; programs?</li>
<li>
<h3><a title="iBiz by IGG Software" href="http://www.iggsoftware.com/ibiz/">iBiz</a></h3>
<p><a href="http://www.iggsoftware.com/ibiz/"><img class="alignright size-full wp-image-91" src="http://www.kaweb.co.uk/wp-content/2008/07/ibiz.jpg" alt="iBiz" width="48" height="48" /></a>iBiz is a new entry on my list.  I was recommended this piece of software one day whilst lamenting on just how difficult it is to estimate how long a programming job will take.  This application is really only useful if your company has clients that it charges based on time accrued.  In short, iBiz is an application that can be used to track the time spent on your projects.  We run it in a client-server setup (on our Mac OS X Server) so that everybody in the office can share the client pool.  Once it&#8217;s set up, you can stick in a widget to your Dashboard (it looks like a little egg timer, with a large start/stop button).  Clicking on the play button starts off a nice chunky digital timer.  I start work on whichever task I need to complete for that client, and once I have completed the task I hit stop.  Simplicity in itself!</p>
<p>Once you&#8217;ve stopped the timer, you can accredit that time spent to a client.  Common jobs, along with the hourly rate for each of these, can be set up in advance (which we have set up for things like database maintenance which is a frequently-requested task).  All sorts of graphs, reports and information can be gathered from the application (to the delight of your manager!) so you can see areas where perhaps you are spending a lot of time, and therefore money.  At Kaweb, we&#8217;ve found it useful for seeing how accurate our time estimations have been with regards to projects.  It&#8217;s one of those applications that really becomes more essential over time.</p>
<div class="tip">If you need something more money-orientated, try <a title="Cashbox" href="http://www.fadingred.org/cashbox/">Cashbox</a> instead</div>
</li>
<li>
<h3><a title="iTerm" href="http://iterm.sourceforge.net/">iTerm</a></h3>
<p><a href="http://iterm.sourceforge.net/"><img class="alignright size-full wp-image-92" src="http://www.kaweb.co.uk/wp-content/2008/07/iterm.png" alt="iTerm" width="48" height="48" /></a>Finally, we come to iTerm.  Although this is one the most used applications in the office I couldn&#8217;t see fit to place it higher than fifth.  Mac OS X ships with a standard application called Terminal which for all intents and purposes is a fine program.  iTerm does not bring a <em>great</em> deal more to the table.  However, the few enhancements it does bring are very good.  First of all (and most important) is tabs.  Since the launch of Firefox a few years ago, most people seem to almost <em>expect</em> their programs to come with a tabbed interface.  I am definitely no exception to this rule.  As I&#8217;m sure you can imagine, Kaweb manage several different servers on a daily basis.  Without having a tabular interface, it involves opening several different terminals (which all look similar) and switching between them.  Anybody that is used to Windows ALT+TAB will have a rude awakening trying to get the same functionality from their Mac (and as a sidenote, if this does annoy you, there is a program called <a title="Witch by Many Tricks" href="http://www.manytricks.com/witch/">Witch</a> that sorts this for you).  So, tabs is a massive plus point for iTerm.</p>
<p>It is also helped by the fact that the software is completely free.  Obviously, Terminal doesn&#8217;t cost a sausage with it being bundled with the operating system&#8230; but it is special, along with Quicksilver, in that it doesn&#8217;t cost anything.  It also seems to handle meta key requests a lot better than terminal (which I found pretty handy when using CLI applications such as <em>vim</em> on our servers).  Try it out &#8211; I think you&#8217;ll agree that for free, it&#8217;s better than the standard OS X Terminal</li>
</ol>
<hr />And that wraps up my top five.  I&#8217;ve tried to avoid ubiquitous applications such as <a title="Get Firefox!" href="http://www.getfirefox.com/">Firefox</a> since that&#8217;s pretty much a given, and applications I feel some businesses will have no use for (such as the popular instant messaging client, <a title="Get Adium" href="http://www.adiumx.com">Adium</a>).</p>
<blockquote><p>Any good applications that you would like to share? Please leave the Kaweb team a message in the comments to this article!</p></blockquote>
<p>Happy programming!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaweb.co.uk/blog/five-mac-applications-web-development-companies-shouldnt-live-without/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
