<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Andrew Sellick</title>
	
	<link>http://www.andrewsellick.com</link>
	<description>andrewsellick.com</description>
	<pubDate>Mon, 15 Sep 2008 13:12:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/andrewsellick" type="application/rss+xml" /><item>
		<title>Simple PHP Email Obfuscation</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/393189237/simple-php-email-obfuscation</link>
		<comments>http://www.andrewsellick.com/101/simple-php-email-obfuscation#comments</comments>
		<pubDate>Mon, 15 Sep 2008 13:10:25 +0000</pubDate>
		<dc:creator />
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/?p=101</guid>
		<description><![CDATA[Here&#8217;s a simple piece of code that performs PHP based email obfuscation to replace standard characters with an ASCII encoded alternative.
This technique, although simple, will block some of the less intelligent spiders/robots out there. There are many other techniques including using JavaScript to render email address or images or even reversing the email address through [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple piece of code that performs PHP based email obfuscation to replace standard characters with an ASCII encoded alternative.</p>
<p>This technique, although simple, will block some of the less intelligent spiders/robots out there. There are many other techniques including using JavaScript to render email address or images or even reversing the email address through CSS, however they all have their pros and cons and remember there isn&#8217;t an solution.</p>
<pre>&lt;?php

function email_obfuscator( $email )
{
$strArray = str_split( $email );
$obfEmail = '';

foreach( $strArray as $char )
{
$obfEmail .= '&amp;#'.ord( $char );
}

return $obfEmail ;
}

echo '&lt;a href="mailto:'.email_obfuscator('test@test.com').'"&gt;'.email_obfuscator('test@test.com').'&lt;/a&gt;';

?&gt;</pre>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/393189237" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/101/simple-php-email-obfuscation/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/101/simple-php-email-obfuscation</feedburner:origLink></item>
		<item>
		<title>CSS Float Tutorial</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/393101702/css-float-tutorial</link>
		<comments>http://www.andrewsellick.com/100/css-float-tutorial#comments</comments>
		<pubDate>Mon, 15 Sep 2008 10:52:05 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Layout]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/?p=100</guid>
		<description><![CDATA[I regularly get asked to explain CSS floats, how they work and more importantly how to fix the wonderful array of bugs that get thrown up during development.
For this reason I thought it may be a good idea to point everyone in the direction of a very useful article on CSS Tricks.  It walks [...]]]></description>
			<content:encoded><![CDATA[<p>I regularly get asked to explain CSS floats, how they work and more importantly how to fix the wonderful array of bugs that get thrown up during development.</p>
<p>For this reason I thought it may be a good idea to point everyone in the direction of a very useful article on <a href="http://css-tricks.com/all-about-floats/" target="_blank">CSS Tricks</a>.  It walks you through the development process for floating content and highlights any issues that may arise and the workarounds.</p>
<p>All in all a very good post and well worth a read if you need a little recap.  <img src='http://www.andrewsellick.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p class="note"><a href="http://css-tricks.com/all-about-floats/" target="_blank">View CSS Float arictle</a></p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/393101702" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/100/css-float-tutorial/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/100/css-float-tutorial</feedburner:origLink></item>
		<item>
		<title>sIFR 3</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/388683563/sifr-3</link>
		<comments>http://www.andrewsellick.com/99/sifr-3#comments</comments>
		<pubDate>Wed, 10 Sep 2008 14:01:58 +0000</pubDate>
		<dc:creator />
		
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/?p=99</guid>
		<description><![CDATA[This a quick post to demonstrate the power of sIFR 3.  Most of you will have heard about sIFR and its benefits, but for those of you that haven&#8217;t &#8220;sIFR lets you use your favorite font on your websites by working with Flash, JavaScript and CSS&#8221;.  It enables developers to build templates as [...]]]></description>
			<content:encoded><![CDATA[<p>This a quick post to demonstrate the power of sIFR 3.  Most of you will have heard about sIFR and its benefits, but for those of you that haven&#8217;t &#8220;sIFR lets you use your favorite font on your websites by working with Flash, JavaScript and CSS&#8221;.  It enables developers to build templates as close to the creative as possible without the use of images and compromising accessibility/usability.</p>
<p>Click the link below to see a few of the sIFR showcases I have put together.</p>
<p>I have used sIFR for some time now and decided it was about time that I created a few examples to give a quick overview as to its power.</p>
<p class="note"><a href="http://www.andrewsellick.com/examples/sifr3/" target="_blank">View the sIFR 3 example</a></p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/388683563" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/99/sifr-3/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/99/sifr-3</feedburner:origLink></item>
		<item>
		<title>Searchme Visual Search</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/372835976/searchme-visual-search</link>
		<comments>http://www.andrewsellick.com/98/searchme-visual-search#comments</comments>
		<pubDate>Sat, 23 Aug 2008 17:19:44 +0000</pubDate>
		<dc:creator />
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/?p=98</guid>
		<description><![CDATA[After stumbling the web for a while a couple of days ago I found a site called Searchme and I have to say &#8216;what a site&#8217;.
As Searchme profess on their website they are a &#8216;visual search engine&#8217; meaning results for key phrases are returned in the form of pictures (screen shots) of websites.  Key [...]]]></description>
			<content:encoded><![CDATA[<p>After stumbling the web for a while a couple of days ago I found a site called <a href="http://www.searchme.com/" target="_blank">Searchme</a> and I have to say &#8216;what a site&#8217;.</p>
<p>As Searchme profess on their website they are a &#8216;visual search engine&#8217; meaning results for key phrases are returned in the form of pictures (screen shots) of websites.  Key phrases are also highlighted to indicate where your search was matched.</p>
<p>Now if this wasn&#8217;t good enough, to be honest I was very impressed at this stage anyway, I then proceeded to the video search section and was blown away by the visual display of the videos as well as the overall acuracy of the search results.</p>
<p>Being able to search the videos through cover flow certainly makes life a hell of a lot easier and faster.  I could breeze past the videos I didn&#8217;t want to see and simply select the videos I did and watch them there and then on the Searchme site.</p>
<p>I really believe as this site grows in popularity and they improve their ranking system of indexed sites Searchme will become a very popular search engine.</p>
<h2>What would I improve?</h2>
<p>Well I guess I would look to offer other types of views other than just cover flow.  A thumbnail view and I dare I say it a plain old list view caters for all needs, but then again maybe that starts to move the site away from its original intention.</p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/372835976" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/98/searchme-visual-search/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/98/searchme-visual-search</feedburner:origLink></item>
		<item>
		<title>No I’m not dead :-)</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/371001675/no-im-not-dead</link>
		<comments>http://www.andrewsellick.com/97/no-im-not-dead#comments</comments>
		<pubDate>Thu, 21 Aug 2008 14:58:24 +0000</pubDate>
		<dc:creator />
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/?p=97</guid>
		<description><![CDATA[Firstly I just thought I would write this article to let everyone know I&#8217;m still alive and kicking.  It&#8217;s been a few hectic months for me, however, I&#8217;m back and going to start posting again.
The good newsa is over the last fw months I have developed several new JavaScript widgets so keep checking back as [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly I just thought I would write this article to let everyone know I&#8217;m still alive and kicking.  It&#8217;s been a few hectic months for me, however, I&#8217;m back and going to start posting again.</p>
<p>The good newsa is over the last fw months I have developed several new JavaScript widgets so keep checking back as I will release them over the next few days.</p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/371001675" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/97/no-im-not-dead/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/97/no-im-not-dead</feedburner:origLink></item>
		<item>
		<title>Advance Vista Styled CSS Menu</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/258352540/advance-vista-styled-css-menu</link>
		<comments>http://www.andrewsellick.com/94/advance-vista-styled-css-menu#comments</comments>
		<pubDate>Wed, 26 Mar 2008 14:37:49 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/94/advance-vista-styled-css-menu</guid>
		<description><![CDATA[ 
digg_url = "http://www.andrewsellick.com/94/advance-vista-styled-css-menu";
 
&#160;

After seeing an amazing design tutorial on PSDTUTS for a Vista Style menu design a decided to give it ago and turn their design into reality.&#160; Well I&#8217;ve built it and it looks pretty good (see the css vista menu demo) so I thought I would share how I did it [...]]]></description>
			<content:encoded><![CDATA[<div class="digg"> <script type="text/javascript">
digg_url = "http://www.andrewsellick.com/94/advance-vista-styled-css-menu";
</script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></p>
<p>&nbsp;</p>
</div>
<p>After seeing an amazing design tutorial on PSDTUTS for a <a href="http://psdtuts.com/interface-tutorials/how-to-create-a-stunning-vista-inspired-menu/" target="_blank">Vista Style menu design</a> a decided to give it ago and turn their design into reality.&nbsp; Well I&#8217;ve built it and it looks pretty good (see the <a href="http://www.andrewsellick.com/examples/vista-menu/">css vista menu demo</a>) so I thought I would share how I did it with the world.</p>
<p><img width="258" height="42" alt="Advanced CSS Menu" src="http://www.andrewsellick.com/wp-content/uploads/Image/vista.gif" /></p>
<h3>step one</h3>
<p>Create a PSD of the menu as details in the PSDTUTS article linked above.</p>
<h3>step two</h3>
<p>Cut out the images required for the menu design and save them to an images folder at the root of your site.&nbsp; The required images are as follows:</p>
<ul>
<li>A one pixel wide image of the background of the menu. (nav-bg.gif)</li>
<li>A one pixel wide image of the divider (bar) that splits each nav item. (nav-bar.gif)</li>
<li>An active state image with the blue glow. Notice this image also has a divider (bar) on the left hand side of this image. This will be important for later on in this tutorial. (active.gif)</li>
</ul>
<p><img width="370" height="104" alt="CSS Vista Menu" src="http://www.andrewsellick.com/wp-content/uploads/Image/vista-items.gif" /></p>
<h3>step three</h3>
<p>Build the HTML structure:</p>
<div class="code">&lt;div id=&quot;main-nav&quot;&gt;<br />
&nbsp;&nbsp; &nbsp;&lt;ul&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;One&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Two&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Three&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Four&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp; &nbsp;&lt;/ul&gt;<br />
&nbsp;&nbsp; &nbsp;&lt;div class=&quot;clear-both&quot;&gt;&amp;nbsp;&lt;/div&gt;<br />
&lt;/div&gt;</div>
<p>
As you can see above the structure is a simple unordered list of the desired navigation items, contained within a div named &quot;main-nav&quot;.</p>
<p>HTML wise that is it really.&nbsp; Just drop this in to the body of the site.</p>
<h3>step four</h3>
<p>Now we need to style the menu using the images we previously cut out as detailed below:</p>
<div class="code">body{<br />
&nbsp;&nbsp; &nbsp;font-family:Arial, Helvetica, sans-serif;<br />
&nbsp;&nbsp; &nbsp;font-size:75%;<br />
}</p>
<p>#main-nav{<br />
&nbsp;&nbsp;&nbsp; height:29px;<br />
&nbsp;&nbsp;&nbsp; float:left;<br />
&nbsp;&nbsp;&nbsp; background-image:url(../images/nav-bg.gif);<br />
&nbsp;&nbsp;&nbsp; background-repeat:repeat-x;<br />
&nbsp;&nbsp;&nbsp; background-position:top left;<br />
&nbsp;&nbsp;&nbsp; width:100%;<br />
}</div>
<p>
The code above sets the default font and font size for the body of the document.&nbsp; You can use whatever font you desire here or if you only want to apply these font styles to the menu add the font styling to the &quot;#main-nav&quot; style.</p>
<p>The &quot;#main-nav&quot; style sets the height/width of the menu whilst also applying the navigation background to the container.</p>
<div class="code">#main-nav ul,<br />
#main-nav li{<br />
&nbsp;&nbsp; &nbsp;padding:0px;<br />
&nbsp;&nbsp; &nbsp;margin:0px;<br />
&nbsp;&nbsp; &nbsp;list-style-type:none;<br />
}</div>
<p>
Next we need to remove the default padding/margin and bullets  applied to unordered lists.</p>
<div class="code">#main-nav ul{<br />
&nbsp;&nbsp; &nbsp;height:29px;<br />
&nbsp;&nbsp; &nbsp;line-height:29px;<br />
&nbsp;&nbsp; &nbsp;background-image:url(../images/nav-bar.gif);<br />
&nbsp;&nbsp; &nbsp;background-position:right;<br />
&nbsp;&nbsp; &nbsp;background-repeat:no-repeat;<br />
&nbsp;&nbsp; &nbsp;float:left;<br />
&nbsp;&nbsp; &nbsp;padding:0px 1px 0px 0px;<br />
&nbsp;&nbsp; &nbsp;margin:0px 0px 0px 10px;<br />
}</div>
<p>
Now we set the height of the ul tag to match the height applied to the &quot;#-main-nav&quot; container whilst also applying the nav divider (bar) image as the background of the ul, positioning it to the right hand side.&nbsp; Finally we float the ul left which gives a cross browse effect of width auto and pad the right hand side by 1px (This will allow room for the nav divider to show).</p>
<div class="code">#main-nav li{<br />
&nbsp;&nbsp; &nbsp;height:29px;<br />
&nbsp;&nbsp; &nbsp;line-height:29px;<br />
&nbsp;&nbsp; &nbsp;display:inline;<br />
&nbsp;&nbsp; &nbsp;position:relative;<br />
&nbsp;&nbsp; &nbsp;float:left;<br />
&nbsp;&nbsp; &nbsp;width:80px;<br />
&nbsp;&nbsp; &nbsp;text-align:center;<br />
}</div>
<p>
Next we set the height and width of the li tag and float it left forcing each li tag to sit inline with each other.&nbsp; In this example the width is fixed to 80px but this is very much up to you and your design.&nbsp;&nbsp; A line-height si also set to equal the applied height forcing the text to vertically align to the middle.</p>
<div class="code">#main-nav li a{<br />
&nbsp;&nbsp; &nbsp;height:29px;<br />
&nbsp;&nbsp; &nbsp;width:80px;<br />
&nbsp;&nbsp; &nbsp;text-align:center;<br />
&nbsp;&nbsp; &nbsp;float:left;<br />
&nbsp;&nbsp; &nbsp;background-image:url(../images/nav-bar.gif);<br />
&nbsp;&nbsp; &nbsp;background-position:left;<br />
&nbsp;&nbsp; &nbsp;background-repeat:no-repeat;<br />
}</div>
<p>
Now we need to style the &quot;a&quot; tag itself.&nbsp; Again it has been given the same width and height as the li tag and floated left.&nbsp; This makes sure the whole navigation item is clickable as well as to remove unwanted margins in IE 6.&nbsp; Next the nav divider (bar) image is added to each &quot;a&quot; tag to complete the dividing pipes look.</p>
<div class="code">#main-nav li a:link,<br />
#main-nav li a:visited{<br />
&nbsp;&nbsp; &nbsp;color:#FFFFFF;<br />
&nbsp;&nbsp; &nbsp;text-decoration:none;<br />
}</p>
<p>#main-nav li.active a,<br />
#main-nav li a:hover{<br />
&nbsp;&nbsp; &nbsp;background-image:url(../images/active.gif);<br />
&nbsp;&nbsp; &nbsp;background-repeat:no-repeat;<br />
&nbsp;&nbsp; &nbsp;background-position:left;<br />
}</div>
<p>
Finally we need to add the link styling and active/hover states.&nbsp; The text colour is set to white and link underline removed for all &quot;a&quot; tags and we apply the active image to the active class and &quot;a&quot; tag hover state.</p>
<p>Now all you need to do is check it out in your browser.&nbsp; Enjoy..</p>
<h3>demo</h3>
<p>Check out the <a href="http://www.andrewsellick.com/examples/vista-menu/">CSS Vista Menu Demo</a> for yourself.</p>
<h3>download</h3>
<p><a href="http://www.andrewsellick.com/examples/vista-menu/vista-menu.rar" target="_blank">Download the CSS Vista Menu</a>.</p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/258352540" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/94/advance-vista-styled-css-menu/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/94/advance-vista-styled-css-menu</feedburner:origLink></item>
		<item>
		<title>JavaScript Clone Object Function</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/254964693/javascript-clone-object-function</link>
		<comments>http://www.andrewsellick.com/93/javascript-clone-object-function#comments</comments>
		<pubDate>Thu, 20 Mar 2008 15:15:24 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/93/javascript-clone-object-function</guid>
		<description><![CDATA[Here&#8217;s a pretty useful function that clones objects with the use of recursion allowing deep cloning:
function cloneObj(o) {
&#160;&#160; &#160; if(typeof(o) != &#8216;object&#8217;) return o;
&#160;&#160; &#160; if(o == null) return o;
&#160; &#160;
&#160;&#160; &#160; var newO = new Object();
&#160; &#160;
&#160;&#160; &#160; for(var i in o) newO[i] = cloneObj(o[i]);
&#160;&#160;&#160;&#160;&#160; return newO;
&#160;}

&#160;
Original source snipplr.com.
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a pretty useful function that clones objects with the use of recursion allowing deep cloning:</p>
<div style="float: left;" class="code">function cloneObj(o) {<br />
&nbsp;&nbsp; &nbsp; if(typeof(o) != &#8216;object&#8217;) return o;<br />
&nbsp;&nbsp; &nbsp; if(o == null) return o;<br />
&nbsp; &nbsp;<br />
&nbsp;&nbsp; &nbsp; var newO = new Object();<br />
&nbsp; &nbsp;<br />
&nbsp;&nbsp; &nbsp; for(var i in o) newO[i] = cloneObj(o[i]);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return newO;<br />
&nbsp;}</div>
<p></p>
<div class="clear-both">&nbsp;</div>
<p>Original source <a href="http://snipplr.com/view/3357/clone/" target="_blank">snipplr.com</a>.</p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/254964693" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/93/javascript-clone-object-function/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/93/javascript-clone-object-function</feedburner:origLink></item>
		<item>
		<title>JavaScript GUID Generator</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/254260003/javascript-guid-generator</link>
		<comments>http://www.andrewsellick.com/92/javascript-guid-generator#comments</comments>
		<pubDate>Wed, 19 Mar 2008 12:37:40 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/92/javascript-guid-generator</guid>
		<description><![CDATA[I recently found an interesting forum post which detailed how to generate GUIDs using JavaScript on the fly.&#160; Its very simple and looks as follows:
function S4() {
&#160;&#160; &#160;return (((1+Math.random())*0&#215;10000)&#124;0).toString(16).substring(1);
}
function generateGuid(){
&#160;&#160; &#160;&#160;&#160; &#160;return (S4()+S4()+&#34;-&#34;+S4()+&#34;-&#34;+S4()+&#34;-&#34;+S4()+&#34;-&#34;+S4()+S4()+S4()).toUpperCase();
}
&#160;

Originally posted by&#160;						 						 							Dr John Stockton on thescripts.com.
]]></description>
			<content:encoded><![CDATA[<p>I recently found an interesting forum post which detailed how to generate GUIDs using JavaScript on the fly.&nbsp; Its very simple and looks as follows:</p>
<div style="float: left;" class="code">function S4() {<br />
&nbsp;&nbsp; &nbsp;return (((1+Math.random())*0&#215;10000)|0).toString(16).substring(1);<br />
}</p>
<p>function generateGuid(){<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;return (S4()+S4()+&quot;-&quot;+S4()+&quot;-&quot;+S4()+&quot;-&quot;+S4()+&quot;-&quot;+S4()+S4()+S4()).toUpperCase();<br />
}</div>
<div class="clear-both">&nbsp;</div>
<p>
Originally posted by&nbsp;						 						 							Dr John Stockton on <a href="http://www.thescripts.com/forum/thread523253.html" target="_blank">thescripts.com</a>.</p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/254260003" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/92/javascript-guid-generator/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/92/javascript-guid-generator</feedburner:origLink></item>
		<item>
		<title>Playstation 3 (PS3) and BTHomeHub network issues (80710723)</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/242404979/playstation-3-ps3-and-bthomehub-network-issues-80710723</link>
		<comments>http://www.andrewsellick.com/91/playstation-3-ps3-and-bthomehub-network-issues-80710723#comments</comments>
		<pubDate>Wed, 27 Feb 2008 21:12:07 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/91/playstation-3-ps3-and-bthomehub-network-issues-80710723</guid>
		<description><![CDATA[Well I&#8217;ve just got myself a Playstation 3 so as you can imagine I was really happy when I finally got it all connected up?!&#160; Thing is that&#8217;s when everything seemed to go wrong.
My first port of call, once inserting the basic settings, was to get connected to my wireless network.&#160; As you can see [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;ve just got myself a Playstation 3 so as you can imagine I was really happy when I finally got it all connected up?!&nbsp; Thing is that&#8217;s when everything seemed to go wrong.</p>
<p>My first port of call, once inserting the basic settings, was to get connected to my wireless network.&nbsp; As you can see from the title of this article I&#8217;m currently using a BTHomeHub and even with the problems I have had with it in the past I did not think for one second that I would have any issues with connecting my PS3 to the internet.&nbsp; After inserting my wireless network details and testing the connection everything appeared fine, however, on trying to update the PS3 I kept receiving the following error number 80710723.</p>
<p>Well I have to say I wasn&#8217;t expecting that, but nonetheless I decided to search the internet to find a solution.&nbsp; After a great deal of browsing I came to realise that this was a very common problem but unfortunately solutions weren&#8217;t readily available until I found a good post on <a href="http://www.avforums.com/forums/showthread.php?p=6466978#32" target="_blank">AVForums</a> where the following instructions are issued:</p>
<p>&quot;I&#8217;m also having a bit of bother with this setup changing a nat type 3 to nat type 2 as pro evo currently not working on the network after the 2.0 update.</p>
<p>To assign a static ip on the router side of things, goto hub manager, then find your ps3 under devices. Change the type to gaming console and click keep same ip address.</p>
<p>To open ports, goto application sharing and pick a game from the default list, or create your own port forwarding by going to &quot;If the game or the application you are looking for does not exist, click here to create it (you will be asked for game or application details).&quot; Click manual entry of ports and you can assign port numbers via UDP or TCP.</p>
<p>DMZ doesnt work well with homehub and i reccomend to set your firewall settings appropriately to stop incoming traffic if you are opening ports.&quot;</p>
<p>To open the ports correctly I found another very useful site called <a href="http://www.portforward.com/english/routers/port_forwarding/BT/BTHomeHub/PS3_NAT_Type_3_to_2.htm" target="_blank">Port Forward</a> which has a step by step guide detailing how to open ports on the Home Hub for the Playstation 3.</p>
<p>All appears to be working now, although I&#8217;m sure as I start to play more online games I will encounter more problems.</p>
<p>Hope this helps..</p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/242404979" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/91/playstation-3-ps3-and-bthomehub-network-issues-80710723/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/91/playstation-3-ps3-and-bthomehub-network-issues-80710723</feedburner:origLink></item>
		<item>
		<title>HTML Forms on the fly</title>
		<link>http://feeds.feedburner.com/~r/andrewsellick/~3/237875361/html-forms-on-the-fly</link>
		<comments>http://www.andrewsellick.com/90/html-forms-on-the-fly#comments</comments>
		<pubDate>Tue, 19 Feb 2008 22:45:01 +0000</pubDate>
		<dc:creator>andy</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.andrewsellick.com/90/html-forms-on-the-fly</guid>
		<description><![CDATA[I have been looking about at form generators recently and I think it&#8217;s fair to say pForm have created one of the best. The generator offers many options including; theme/colour scheme selection, the choice of a multitude of field elements (from a textbox to a file upload) to add to your form, editable form and [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking about at form generators recently and I think it&#8217;s fair to say <a href="http://www.phpform.org/" target="_blank">pForm</a> have created one of the best. The generator offers many options including; theme/colour scheme selection, the choice of a multitude of field elements (from a textbox to a file upload) to add to your form, editable form and form field properties and finally ability to download your recently created form.</p>
<p>This is a really nice generator so if your interested have a look at <a href="http://www.phpform.org/formbuilder/index.php" target="_blank">pForm (HTML Forms on the fly)</a>.</p>
<img src="http://feeds.feedburner.com/~r/andrewsellick/~4/237875361" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.andrewsellick.com/90/html-forms-on-the-fly/feed</wfw:commentRss>
		<feedburner:origLink>http://www.andrewsellick.com/90/html-forms-on-the-fly</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.786 seconds --><!-- Cached page served by WP-Cache -->
