<?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>Code, coke and coins &#187; PlusNet</title>
	<atom:link href="http://www.atomic14.co.uk/blog/archives/category/plusnet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.atomic14.co.uk/blog</link>
	<description>Occassional murmurs from your average software developer</description>
	<lastBuildDate>Sat, 03 Mar 2007 12:11:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Magic ADSL</title>
		<link>http://www.atomic14.co.uk/blog/archives/42</link>
		<comments>http://www.atomic14.co.uk/blog/archives/42#comments</comments>
		<pubDate>Wed, 05 Jul 2006 09:13:30 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[PlusNet]]></category>
		<category><![CDATA[Waffle]]></category>

		<guid isPermaLink="false">http://www.atomic14.co.uk/blog/archives/42</guid>
		<description><![CDATA[Over the past few weeks, for the first time ever, my ADSL connection at home started to play up. Nothing major, the modem would loose synchronisation momentarily (1 or 2 seconds) every few hours and then resync &#8211; Windows remained perfectly oblivious to this activity and carried on as if nothing had occured.
Past experience with [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few weeks, for the first time ever, my ADSL connection at home started to play up. Nothing major, the modem would loose synchronisation momentarily (1 or 2 seconds) every few hours and then resync &#8211; Windows remained perfectly oblivious to this activity and carried on as if nothing had occured.</p>
<p>Past experience with my connection had been faultless; at one point I was connected for around 4 months straight with no glitches, only disconnecting when I needed to &#8216;bounce&#8217; my gateway PC for updates. This is also testament to the connection provided by my ISP, <a href="http://portal.plus.net/my/mydiscount_info/landing_page.html?WRKUh%2Fz%2FuZ5dXmEjImm%2BIMkRiDrJhibK68I95EISja8%3D">PlusNet</a> who for all their faults provide rock solid connections for most of their customers (current trial MaxDSL issues aside!).</p>
<p>The answer to the ADSL issue I was experiencing came about almost by chance, the battery in my mobile phone drained after a particulary long working day. Due to this I was forced to use a landline, after finding my telephone I was dismayed to find no dialtone. I probably should say at this point that I&#8217;m part of a growing number of people with no need for a landline for day-to-day use, it is there for ADSL only.</p>
<p>After breathing some life back into my mobile, one of my first calls was to BT faults. I could have used the <a href="http://www.bt.com/faults">BT website to report the fault</a>, oddly something tells me to use a phone to report a phone fault! As it happens the service is completely automated with various options such as SMS text updates etc.</p>
<p>Roll on Saturday morning, I get a phone call from a BT engineer who is on his way to investigate the problem with the line. Within 10 minutes of his arrival he&#8217;s identified the problem as being 15 metres down the line, which just so happens to coincide with the junction box on the wall. Outside and up the ladder he goes, almost instantly proclaiming &#8220;think I&#8217;ve found the problem!&#8221;, pointing feverishly at a single wire that is completely disconnected from the rest and sticking out at right-angles from the wall.</p>
<p>Reconnection of my second wire solved the &#8216;dialtone&#8217; problem, a fully working phone line again, and resolved my ADSL &#8216;hiccups&#8217;. I queried the BT engineer as to how the ADSL continued to work at full capacity for the most part with so few problems&#8230;..</p>
<p>&#8220;Even we don&#8217;t understand how it works, it&#8217;s magic&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atomic14.co.uk/blog/archives/42/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting started on PlusNet CCGI</title>
		<link>http://www.atomic14.co.uk/blog/archives/30</link>
		<comments>http://www.atomic14.co.uk/blog/archives/30#comments</comments>
		<pubDate>Sun, 19 Mar 2006 18:47:18 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[PlusNet]]></category>

		<guid isPermaLink="false">http://www.atomic14.co.uk/blog/archives/30</guid>
		<description><![CDATA[This is a guide intended to cover the basics of PlusNet&#8217;s ccgi server and it&#8217;s perculiarities. It is not a guide to cover installation of any specific package, although the information here can be used to successfully install packages such as PhpBB, WordPress, Gallery and many others.
Activation
By default you do not have any CCGI space [...]]]></description>
			<content:encoded><![CDATA[<p>This is a guide intended to cover the basics of PlusNet&#8217;s ccgi server and it&#8217;s perculiarities. It is not a guide to cover installation of any specific package, although the information here can be used to successfully install packages such as <a href="http://www.phpbb.com">PhpBB</a>, <a href="http://wordpress.org/">WordPress</a>, <a href="http://gallery.menalto.com/">Gallery</a> and many others.</p>
<h2>Activation</h2>
<p>By default you do not have any CCGI space at PlusNet, you need to activate it via your <a href="https://portal.plus.net/my.html?action=mywebsite">portal</a>. CCGI and MySQL require seperate activation. In the case of MySQL you will receive an email with a database name and password once it is setup. For CCGI, you use your normal username and password, but bear in mind you can only access CCGI from your PlusNet connection for many tasks (this is for security reasons).</p>
<h2>PHP Location and Permissions</h2>
<p>PHP files can be FTP&#8217;ed to your CCGI space using ftp://ccgi.plus.net. Do not put PHP files in the cgi-bin folder, unlike the homepages server there is no &#8216;htdocs&#8217;. You can put files in the root or create folders yourself.</p>
<p>Permissions of PHP files are specific to PlusNet&#8217;s setup, you must have owner execute permission set for files to run correctly, public execute will stop them running. Many FTP clients have a permission or CHMOD facility for files, basic permissions required are &#8216;740&#8242;. When installing packages, it is often easier to follow the guide with the package with regard to permissions, then run the &#8216;fixphpperms.sh&#8217; script provided by PlusNet before any step that requires using a PHP page for configuration.</p>
<p>To execute &#8216;fixphpperms.sh&#8217; via telnet</p>
<ul>
<li>Start->Run->Cmd</li>
<li>In the command prompt type &#8216;telnet ccgi.plus.net&#8217; and hit return</li>
<li>Login using your normal username and password</li>
<li>Type &#8216;fixphpperms.sh -r&#8217; and hit return</li>
<li>Type &#8216;exit&#8217; and hit return to leave</li>
</ul>
<p>&#8216;Fixphpperms.sh&#8217; takes a number of parameters:-</p>
<ul>
<li>-c will fix all .php files in your current directory AND all subdirs</li>
<li>-r will fix ALL .php files from your homedirectory down</li>
<li>-s will fix all .php files in your current directory only.</li>
</ul>
<h2>MySQL</h2>
<p>MySQL is located on &#8216;rumpus&#8217; or &#8216;humbug&#8217; server, you will be notified which when it is activated. Note that you have a new password just for MySQL and a database name. All  packages that use MySQL require these connection details to work, and are often sorted in a file called &#8216;config.php&#8217; or similar (your package will detail which file to edit).</p>
<p>Basic MySQL connection from PHP is as follows:-<br />
<code>function opendb()<br />
&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;$db_host&nbsp;&nbsp;= &quot;humbug&quot;;<br />
&nbsp;&nbsp;&nbsp;&nbsp;$username = &quot;username&quot;;<br />
&nbsp;&nbsp;&nbsp;&nbsp;$password = &quot;password&quot;;<br />
&nbsp;&nbsp;&nbsp;&nbsp;$DB_name&nbsp;&nbsp;= &quot;databasename&quot;;<br />
&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;$chan = mysql_connect ($db_host, $username, $password);<br />
&nbsp;&nbsp;&nbsp;&nbsp;mysql_select_db ($DB_name, $chan);<br />
&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;return $chan;<br />
&nbsp;&nbsp;}<br />
</code></p>
<p>NB. &#8216;Humbug&#8217; could be &#8216;Rumpus&#8217;, and will <em>never</em> be &#8216;localhost&#8217; as most packages specify by default.</p>
<p>Once you have made the MySQL connection you can query the database:-</p>
<p><code>$chan = opendb();<br />
$result = mysql_query(&quot;SELECT * FROM myfirsttable&quot;, $chan);</code></p>
<p>&#8230; then interrogate $result with one of the &#8216;mysql_fetch&#8217; family of PHP functions.</p>
<p>As I said at the beginning, this is only intended as a brief overview/guide. Other topics, some more advanced can be found in the <a href="http://www.atomic14.co.uk/blog/archives/category/plusnet/">PlusNet category of this blog</a>, the <a href="http://usertools.plus.net/tutorials/">UserTools tutorials</a> and of course <a href="http://www.plus.net/support/webspace/index.shtml">PlusNets own help</a>. It&#8217;s also worth hunting around the forum signatures of the regular users of <a href="http://portal.plus.net/central/forums/viewforum.php?f=7">PlusNets Webspace Help forum</a>, which often contain very useful information!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atomic14.co.uk/blog/archives/30/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Webserver On A Stick</title>
		<link>http://www.atomic14.co.uk/blog/archives/29</link>
		<comments>http://www.atomic14.co.uk/blog/archives/29#comments</comments>
		<pubDate>Sun, 05 Mar 2006 00:39:09 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PlusNet]]></category>

		<guid isPermaLink="false">http://www.atomic14.co.uk/blog/archives/29</guid>
		<description><![CDATA[Every now and again some bright spark comes up with a simple idea that really does rock.
Like many people I&#8217;m sure, I work on Windows 99% of the time. However much you want to knock Microsoft, it really is still the platform of choice for most purposes. In my case, I&#8217;ve little choice anyway, it [...]]]></description>
			<content:encoded><![CDATA[<p>Every now and again some bright spark comes up with a simple idea that really does rock.</p>
<p>Like many people I&#8217;m sure, I work on Windows 99% of the time. However much you want to knock Microsoft, it really is still the platform of choice for most purposes. In my case, I&#8217;ve little choice anyway, it is the platform for which I develop software.</p>
<p>Also like many people, I have a website and the same as many ISPs, my ISP <a href="http://portal.plus.net/my/mydiscount_info/landing_page.html?WRKUh%2Fz%2FuZ5dXmEjImm%2BIMkRiDrJhibK68I95EISja8%3D">PlusNet</a> offer a package comprising of something other than Windows based webserver software, namely the all too common Apache, PHP, MySQL combination.</p>
<p>This is a complete pain, this &#8216;alien&#8217; software package is very good for developing dynamic websites etc, but the problem is how to develop and test them locally, i.e. on your PC before publishing them to the big wide world of the internet. Of course you can download Windows &#8216;flavours&#8217; of all these packages, and spend another week configuring them.</p>
<p>Or you can download <a href="http://www.chsoftware.net/en/useware/wos/wos.htm">Webserver On A Stick</a>.</p>
<p>As I started out, yes it&#8217;s a simple idea. Bundle Apache, PHP and MySQL, add a front end control program and away you go. Of course the author&#8217;s original intention was to produce a minimal footprint webserver environment for use on a USB stick, however there is nothing to stop you running it off your local hard drive. Simply unzip the package, and throw your website at it&#8217;s &#8216;www&#8217; folder and away you go.</p>
<p>It&#8217;s certainly something I wish I&#8217;d found sooner, according to the copyright notice it started in 2003, maybe if more people shout about it, more will find this remarkably useful little piece of software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atomic14.co.uk/blog/archives/29/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHPBB Temporary Email Fix</title>
		<link>http://www.atomic14.co.uk/blog/archives/15</link>
		<comments>http://www.atomic14.co.uk/blog/archives/15#comments</comments>
		<pubDate>Mon, 04 Jul 2005 11:18:20 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[PlusNet]]></category>

		<guid isPermaLink="false">http://www.atomic14.co.uk/blog/?p=15</guid>
		<description><![CDATA[This is for PlusNet customers having problems with &#8217;sendmail&#8217; on the new CCGI server. The linked file fixes the problems associated with mail not being delivered.
The file for PHPBB 2.0.16. It may or may not work for earlier versions.
The single file enclosed in the ZIP file is to replace {boardroot}/includes/emailer.php ,  I strongly advise [...]]]></description>
			<content:encoded><![CDATA[<p>This is for PlusNet customers having problems with &#8217;sendmail&#8217; on the new CCGI server. The linked file fixes the problems associated with mail not being delivered.</p>
<p><b>The file for PHPBB 2.0.16.</b> It may or may not work for earlier versions.</p>
<p>The single file enclosed in the ZIP file is to replace <code>{boardroot}/includes/emailer.php</code> ,  I strongly advise backing up your current copy of this file first. You may wish to revert to your original file once the problem has been fixed by PlusNet.</p>
<p><a href="http://www.atomic14.co.uk/blog/wp-content/emailer.zip">Download Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.atomic14.co.uk/blog/archives/15/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pointing PlusNet domain at ccgi</title>
		<link>http://www.atomic14.co.uk/blog/archives/10</link>
		<comments>http://www.atomic14.co.uk/blog/archives/10#comments</comments>
		<pubDate>Fri, 01 Jul 2005 07:59:54 +0000</pubDate>
		<dc:creator>walrus</dc:creator>
				<category><![CDATA[PlusNet]]></category>

		<guid isPermaLink="false">http://www.atomic14.co.uk/blog/?p=10</guid>
		<description><![CDATA[This article describes the procedure required to point your domain fully at the PlusNet ccgi server, where you are then able to run PHP without strange URLs outside your normal domain name.
At the end you will have both  http://{domainname}.co.uk and http://www.{domainname}.co.uk pointing to the &#8216;ccgi&#8217; server. You will only have 1 place to worry [...]]]></description>
			<content:encoded><![CDATA[<p>This article describes the procedure required to point your domain fully at the PlusNet ccgi server, where you are then able to run PHP without strange URLs outside your normal domain name.</p>
<p>At the end you will have both  http://{domainname}.co.uk and http://www.{domainname}.co.uk pointing to the &#8216;ccgi&#8217; server. You will only have 1 place to worry about uploading files to (both html and php etc).</p>
<p>1) <strong>You need to create 2 DNS entries</strong> (Domain Settings->Configure):-<br />
<code><br />
Left: {domainname}.co.uk.<br />
Type: A<br />
Right: 84.92.1.4<br />
&nbsp;<br />
Left: www<br />
Type: CNAME<br />
Right: ccgi.{username}.plus.com.<br />
</code></p>
<p>Note well, there is a full stop after {domainname}.co.uk in the first record and after ccgi.{username}.plus.com. in the second record.<br />
You may be able to use variations of the URLs, but these definitely work!</p>
<p>2) <strong>You need to change &#8220;Domain Hostings Settings&#8221;</strong> to other aka &#8220;I wish to specify DNS records for hosts under this domain&#8221;</p>
<p>3) <strong>You need to raise a support ticket</strong> &#8211; Request a change for the WWW and CGI services for your domain, and let them know you have created the 2 records required.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atomic14.co.uk/blog/archives/10/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
