<?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>Dan&#039;s Tech Blog &#187; Scripts</title>
	<atom:link href="http://dansgalaxy.co.uk/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://dansgalaxy.co.uk</link>
	<description>Student, MSP, Web-developer, Web Hosting Guru, and general Tech Geek. Tech Evangelist in training…</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:41:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Easy WordPress Widget Builder</title>
		<link>http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=easy-wordpress-widget-builder</link>
		<comments>http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 13:39:17 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[How Tos & Tutorials]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Builder]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dansgalaxy.co.uk/?p=613</guid>
		<description><![CDATA[Tweet I had a bit of a dilemma today as I needed to create a widget to house the BT.com widget (which you can now see on the sidebar) and for this I decided the easiest way would be to knock up a standalone plugin for this. While looking into this I discovered a very handy little [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2010%2F10%2F15%2Feasy-wordpress-widget-builder%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/"  data-text="Easy WordPress Widget Builder" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>I had a bit of a dilemma today as I needed to create a widget to house the BT.com widget (which you can now see on the sidebar) and for this I decided the easiest way would be to knock up a standalone plugin for this.</p>
<p>While looking into this I discovered a very handy little WordPress Widget Builder which does it all for you, nice and easy! - <a href="http://widgetifyr.com/startup">http://widgetifyr.com/startup</a></p>
<p><a href="http://dansgalaxy.co.uk/wp-content/uploads/2010/10/blog_widgetbuildersiteprtscn.jpg"><img class="aligncenter size-full wp-image-614" title="blog_widgetbuildersiteprtscn" src="http://dansgalaxy.co.uk/wp-content/uploads/2010/10/blog_widgetbuildersiteprtscn.jpg" alt="" width="550" height="716" /></a></p>
<p>It&#8217;s a very easy interface, simple enter the code you want to be displayed in the widget, and click &#8220;Generate My Widget&#8221; now most people will want to tweak the code which is produced a little before using it, so let&#8217;s explain things a little.</p>
<p>The main things you will want/need to change is the plugin information, which is stored in a PHP comment at the top of the plugin file, by default the widget builder outputs the following:</p>
<blockquote><p>/*<br />
Plugin Name: Test Plugin<br />
Plugin URI: http://www.widgetifyr.com<br />
Description: Test Plugin<br />
Author: widgetifyr.com<br />
Version: 0.01<br />
Author URI: http://www.widgetifyr.com</p>
<p>*/</p></blockquote>
<p>It&#8217;s fairly self explanatory, simply change the text to suit your needs so a modified one could be:</p>
<blockquote><p>/*<br />
Plugin Name: Hello World Widget<br />
Plugin URI: http://dansgalaxy.co.uk/hello_world_plugin<br />
Description: Simple Plugin which creates Widget which says &#8220;Hello world&#8221;<br />
Author: Dan.<br />
Version: 1<br />
Author URI: http://dansgalaxy.co.uk</p>
<p>*/</p></blockquote>
<p>Hopefully someone can find this useful, particularly when you need a quick WordPress Widget, but can&#8217;t be bothered to write the code!</p>
<p>Retweet, Dig and share!</p>
<p><div style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-1444430488495318";
google_ad_slot = "8544723061";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div> </p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2010%2F10%2F15%2Feasy-wordpress-widget-builder%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/"  data-text="Easy WordPress Widget Builder" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://dansgalaxy.co.uk/2010/10/15/easy-wordpress-widget-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable WordPress wp-cron</title>
		<link>http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-disable-wordpress-wp-cron</link>
		<comments>http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 21:48:14 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General stuff]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[cpu usage]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[server resources]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dansgalaxy.co.uk/?p=567</guid>
		<description><![CDATA[Tweet Recently I have been noticing that this blog has been eating its way through the servers ram like no bodies business, easily using more than 150mb before its automatically killed. By default the wp-cron.php is run every single time a page is loaded, this includes admin pages. This can lead if you have a [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2010%2F10%2F03%2Fhow-to-disable-wordpress-wp-cron%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/"  data-text="How to disable WordPress wp-cron" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><div style="float: right"><script type="text/javascript" src="http://video.unrulymedia.com/wildfire_64546744.js"></script></div>Recently I have been noticing that this blog has been eating its way through the servers ram like no bodies business, easily using more than 150mb before its automatically killed.</p>
<p>By default the wp-cron.php is run every single time a page is loaded, this includes admin pages. This can lead if you have a busy blog to a lot of cron runs, which simply aren&#8217;t needed.</p>
<p>What does the wp-cron do? You might ask, and even if you don&#8217;t I will tell you anyway. The wp-cron will do things like scheduled posts and can also include things that plugins want running.</p>
<p>So how we go about this is simple, we will disable the wp-cron from running on every page load, and then add a proper cron job.</p>
<p>First lets disable it:</p>
<p>Simply open wp-config.php and add the follow line.</p>
<blockquote><p>define(&#8216;DISABLE_WP_CRON&#8217;, true);</p></blockquote>
<p>Note: You need to make sure you use an apostrophe instead of single quotes in the code here, otherwise it will not work!</p>
<p>Second, lets add the cron:</p>
<p>It is probably a good idea to run the cron job every couple of hours, for this we will add something like this.</p>
<blockquote><p>0      */2      *      *      *</p></blockquote>
<p>For the command you simply need to call the wp-cron either using wget OR php -q</p>
<blockquote><p>php -q /home/cPanel_User/public_html/wp-cron.php</p></blockquote>
<p>OR</p>
<blockquote><p>wget http://YourDomain.com/wp-cron.php</p></blockquote>
<p>Personally I&#8217;d prefer the php -q option as some hosts can have trouble resolving domains on the same server.</p>
<p>If anyone has any questions or comments please leave a comment below and I&#8217;ll try to help. <img src='http://dansgalaxy.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><div style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-1444430488495318";
google_ad_slot = "8544723061";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div></p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2010%2F10%2F03%2Fhow-to-disable-wordpress-wp-cron%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/"  data-text="How to disable WordPress wp-cron" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>How to duplicate input value to another using jQuery</title>
		<link>http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-duplicate-input-value-to-another-using-jquery</link>
		<comments>http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 15:15:44 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://dansgalaxy.co.uk/?p=530</guid>
		<description><![CDATA[Tweet Just thought I would post this little jQuery snippet which simply updates the value of input field based on value of another. This can be particularly useful in some situations where information can be duplicated for example perhaps on a billing and shipping address form etc. Example for standard text based input field: $(&#8220;#src-field&#8221;).change(function () [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2010%2F07%2F23%2Fhow-to-duplicate-input-value-to-another-using-jquery%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/"  data-text="How to duplicate input value to another using jQuery" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><a id="aptureLink_D0xCf5hjL9" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; display: inline !important; padding-top: 0px; padding-right: 6px; padding-bottom: 0px; padding-left: 6px;" href="http://www.flickr.com/photos/guspim/2823714093/"><img class="alignright" style="border: 0px initial initial;" title="jQuery- The Write Less, Do More, JavaScript Library" src="http://static.flickr.com/3172/2823714093_0eb53b5c2c.jpg" alt="" width="240" height="250" /></a>Just thought I would post this little <a id="aptureLink_rSgwt2IUnw" href="http://en.wikipedia.org/wiki/JQuery">jQuery</a> snippet which simply updates the value of input field based on value of another. This can be particularly useful in some situations where information can be duplicated for example perhaps on a billing and shipping address form etc.</p>
<p>Example for standard text based input field:</p>
<blockquote>
<div id="_mcePaste">$(&#8220;#src-field&#8221;).change(function () {</div>
<div id="_mcePaste">$(&#8220;#otherfield&#8221;).val($(&#8220;#src-field&#8221;).val());</div>
<div id="_mcePaste">})</div>
<div id="_mcePaste">.change();</div>
</blockquote>
<div>Example for select field:</div>
<div>
<blockquote>
<div id="_mcePaste">$(&#8220;#src-select&#8221;).change(function () {</div>
<div id="_mcePaste">$(&#8220;#otherfield&#8221;).val($(&#8220;#src-select option:selected&#8221;).val());</div>
<div id="_mcePaste">})</div>
<div id="_mcePaste">.change();</div>
</blockquote>
<p>The Select version will used the selected value, if you would like to get the text of the option you can replace .val() with .text().</p>
<p>Hope this helps someone, would appreciate a quick comment if you use it!</p>
</div>
<p><div style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-1444430488495318";
google_ad_slot = "8544723061";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div> </p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2010%2F07%2F23%2Fhow-to-duplicate-input-value-to-another-using-jquery%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/"  data-text="How to duplicate input value to another using jQuery" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://dansgalaxy.co.uk/2010/07/23/how-to-duplicate-input-value-to-another-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Monitoring &#8220;SwinServe&#8221; Script Coming soon&#8230;</title>
		<link>http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=server-monitering-swinserve-script-coming-soon</link>
		<comments>http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 15:13:18 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.dansgalaxy.co.uk/?p=78</guid>
		<description><![CDATA[Tweet I have began to write a server monitor script, keeping what I&#8217;m going to call it secret until its finished I guess i will need to think of a code name like &#8220;Longhorn&#8221; (Vistas code name) for the moment I might go with SwinServe (I live in Swindon, and is a Server monitor script&#8230; [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2008%2F07%2F25%2Fserver-monitering-swinserve-script-coming-soon%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/"  data-text="Server Monitoring &#8220;SwinServe&#8221; Script Coming soon&#8230;" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>I have began to write a server monitor script, keeping what I&#8217;m going to call it secret until its finished <img src='http://dansgalaxy.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I guess i will need to think of a code name like &#8220;Longhorn&#8221; (Vistas code name) for the moment I might go with SwinServe (I live in Swindon, and is a Server monitor script&#8230; ) works for me okay i have a code name.</p>
<p>Now i will explain what it will hopefully have.</p>
<p>The point of the script is obvious, it will monitor many aspects of your chosen server(s) and be able to display that information.</p>
<p>It will, collect and store information about the server, whats up whats down memory usage, CPU usage and hopefully also hdd usage.</p>
<p>This information can then be used to hopefully show and possibly even graph server status over a period of time through the Admin panel.</p>
<p>The script will obviously have a client page which shows the status of all the servers you have added, and shows the current usage(s) etc enabling clients to view whats going on.</p>
<p>I want this script to be fully flexible, and intend to allow admins to add any port they wish to monitor, and more. meaning it can be used for any purpose and wont be restricted to http/ftp/cpanel/whm/mysql/smtp/pop etc which would also mean, it can monitor things like shoutcast etc.</p>
<p>It would just be a simple form in the admin where you enter things like:</p>
<p>Server name</p>
<p>Server IP</p>
<p>Server URL</p>
<p>cPanel username/password</p>
<p>and then probably a selection of tick boxes of all the ports to monitor, so if for instance it was just a MySQL server you would untick them all accept the MySQL one, so on the monitor page, it shows the rest as &#8220;unmonitored&#8221; and only the required ports are used.</p>
<p>Also for the same u could set custom ports for that server.</p>
<p>Why cPanel username and password?</p>
<p>Nothing is firm at the moment, but it will most likely be used to access information privileged to the cPanel area.</p>
<p><strong>Plugins/Mods:</strong></p>
<p>I am planning to develop modifications for WHMCS, my client panel of choice, which will&#8230; if I&#8217;m clever enough, sync server info so you don&#8217;t have to add them to both softwares.</p>
<p>I am also planning to develop a new tpl file for server status which will incorporate SwinServe into the styles etc and make it fit in perfectly. and should (hopefully) function like it was part of WHMCS.</p>
<p>Once the initial built is complete and Version 1 is finalised, and fully working with WHMCS and cPanel i would be interested in developing it to work well with other server panels and client panels, however i wont be able to afford them to do the testing so as a note i may be trying to scrounge access to your client area! just to make it work.</p>
<p>I am still undecided if i will make this open source/closed source of closed source and selling it.</p>
<p>I will be posting the developments as they come.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2008%2F07%2F25%2Fserver-monitering-swinserve-script-coming-soon%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/"  data-text="Server Monitoring &#8220;SwinServe&#8221; Script Coming soon&#8230;" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://dansgalaxy.co.uk/2008/07/25/server-monitering-swinserve-script-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coupon Redirect</title>
		<link>http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=coupon-redirect</link>
		<comments>http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 15:39:20 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://blog.dansgalaxy.co.uk/2008/03/25/coupon-redirect/</guid>
		<description><![CDATA[Tweet Hello, i thought i might start posting about some of the scripts i have made  Ok i coded this script for someone who strangely enough wanted a system where user enters a &#8220;coupon&#8221; and it redirects to a URL which is associated with that &#8220;coupon&#8221;.  I knocked this system up with a admin bit [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2008%2F03%2F25%2Fcoupon-redirect%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/"  data-text="Coupon Redirect" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Hello, i thought i might start posting about some of the scripts i have made <img src='http://dansgalaxy.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> Ok i coded this script for someone who strangely enough wanted a system where user enters a &#8220;coupon&#8221; and it redirects to a URL which is associated with that &#8220;coupon&#8221;.</p>
<p> I knocked this system up with a admin bit to manage the coupons which (in my opinion) made it nice and easy to add/edit/manage the coupons.</p>
<p> My client i sold the coupon redirect system to was very happy with the script and as far as i know is using it without problem!</p>
<p>Okay so i would like to offer this script to anyone who may be interested in this script or would like the system but modded to suit your needs please send me a email, add me on MSN or just post a reply and i can get in contact with you and we can sort something out.</p>
<p><div style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-1444430488495318";
google_ad_slot = "8544723061";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div> </p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2008%2F03%2F25%2Fcoupon-redirect%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/"  data-text="Coupon Redirect" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://dansgalaxy.co.uk/2008/03/25/coupon-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Old PHP scripts! YUK!</title>
		<link>http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=old-php-scripts-yuk</link>
		<comments>http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 19:26:55 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://blog.dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/</guid>
		<description><![CDATA[Tweet I got a script to day which i am moding up (alot!) into a simple host script so users can sign up, login upload files to a dir and manage those files. Got this script which has the idea, needs alot of work but i mean DIDNT PEOPLE KNOW HOW TO CODE?!  its hidious! [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2008%2F01%2F28%2Fold-php-scripts-yuk%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/"  data-text="Old PHP scripts! YUK!" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>I got a script to day which i am moding up (alot!) into a simple host script so users can sign up, login upload files to a dir and manage those files.</p>
<p>Got this script which has the idea, needs alot of work but i mean DIDNT PEOPLE KNOW HOW TO CODE?!</p>
<p> its hidious! :p all capitals and amazingly bad code! guh.</p>
<p> iky ew.</p>
<p>Wow thats it jsut a quick rant.</p>
<p>i should do it more,  i might have more blog content..</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdansgalaxy.co.uk%2F2008%2F01%2F28%2Fold-php-scripts-yuk%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/"  data-text="Old PHP scripts! YUK!" data-count="horizontal" data-via="dansgalaxy">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://dansgalaxy.co.uk/2008/01/28/old-php-scripts-yuk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

