<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>World O Web</title><link>http://www.worldoweb.co.uk</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WorldOWeb" /><description>Everything Wonderful About The Web!</description><language>en</language><lastBuildDate>Mon, 06 Sep 2010 08:35:19 PDT</lastBuildDate><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WorldOWeb" /><feedburner:info uri="worldoweb" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>WorldOWeb</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Links for 2010-09-04 [del.icio.us]</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/isQD0PUpvWk/ridgey28</link><pubDate>Sun, 05 Sep 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/ridgey28#2010-09-04</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.w3schools.com/default.asp"&gt;W3Schools Online Web Tutorials&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/isQD0PUpvWk" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/ridgey28#2010-09-04</feedburner:origLink></item><item><title>Install iPlayer on Mint 9 or Ubuntu Lucid</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/fw5T1mpNNRo/install-iplayer-on-mint-9-or-ubuntu-lucid</link><category>Linux</category><category>Browsers</category><category>Mint</category><category>Opera</category><category>Software</category><category>Ubuntu</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Thu, 02 Sep 2010 15:02:08 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2327</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I have been wanting to install BBC iPlayer on my Linux Mint 9 to download and watch a TV show as my Internet speed is not the fastest and fluctuates from time to time so I wanted to download without the disruption.  When I tried to install iPlayer with Google Chrome 6.0.472.53 I received an error message and was unable to install despite several attempts.  I then tried my trusty old Firefox 3.6.9 and the same happened again.  I tried also to find an offline version and could not find one.  My thoughts were that if I can&#8217;t install it on 2 of the most popular browsers and can&#8217;t find an offline version then I give up, or should I?</p>
<p>Enter <strong><a href="http://www.opera.com/download/" target="blank" title="Opera Web Browser">Opera</a></strong> to save the day.  I downloaded and installed the latest version of Opera 10.61 and navigated to <a href="http://www.bbc.co.uk/iplayer/install/" target="blank" title="Install iPlayer">http://www.bbc.co.uk/iplayer/install/</a>  and it installed without a hitch so then  I could download my TV show at last.  I had to browse iPlayer from Opera to download the show put that&#8217;s the least I could do.</p>
<p>Whilst I am on the subject Opera is a pretty nifty browser.  I will definitely be using it more often.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/sept_2010/iplayer.jpg" title="Finally got iPlayer working on Linux Mint 9" class="thickbox" rel="singlepic259" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/259__320x240_iplayer.jpg" alt="iPlayer" title="iPlayer" />
</a>

<p>As for the problem it could be flash or the air plugin.  Has anyone successfully got it working with Firefox or Chrome?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=fw5T1mpNNRo:E-zMrzpZ4ec:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=fw5T1mpNNRo:E-zMrzpZ4ec:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=fw5T1mpNNRo:E-zMrzpZ4ec:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=fw5T1mpNNRo:E-zMrzpZ4ec:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=fw5T1mpNNRo:E-zMrzpZ4ec:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=fw5T1mpNNRo:E-zMrzpZ4ec:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=fw5T1mpNNRo:E-zMrzpZ4ec:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=fw5T1mpNNRo:E-zMrzpZ4ec:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=fw5T1mpNNRo:E-zMrzpZ4ec:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/fw5T1mpNNRo" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/opera.png" alt="Opera" height="85" width="85" /&gt;&lt;/div&gt;
&lt;p class="title"&gt;I have been wanting to install BBC iPlayer on my Linux Mint 9 to download and watch a TV show as my Internet speed is not the fastest and fluctuates from time to time so I wanted to download without the disruption.  When I tried to install iPlayer with Google Chrome 6.0.472.53 I received an error message and was unable to install despite several attempts.  I then tried my trusty old Firefox 3.6.9 and the same happened again.  I tried also to find an offline version and could not find one.  My thoughts were that if I can't install it on 2 of the most popular browsers and can't find an offline version then I give up, or should I?
&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/install-iplayer-on-mint-9-or-ubuntu-lucid/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/install-iplayer-on-mint-9-or-ubuntu-lucid</feedburner:origLink></item><item><title>Links for 2010-09-01 [del.icio.us]</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/LXJv__UIdGQ/ridgey28</link><pubDate>Thu, 02 Sep 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/ridgey28#2010-09-01</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.deliaonline.com/recipes/main-ingredient/poultry-and-game/chicken/spanish-chicken-with-butter-beans-chorizo-and-tomatoes.html"&gt;Spanish Chicken with Butter Beans, Chorizo and Tomatoes - Chicken - Recipes - from Delia Online&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/LXJv__UIdGQ" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/ridgey28#2010-09-01</feedburner:origLink></item><item><title>Links for 2010-08-29 [del.icio.us]</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/dIbsz2OcBuA/ridgey28</link><pubDate>Mon, 30 Aug 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/ridgey28#2010-08-29</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.clockwatchers.com/htaccess_intro.html"&gt;Clockwatchers - .htaccess Tutorial - Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://groups.google.com/group/apachehtaccess/web/htaccess-cheatsheet?pli=1"&gt;htaccess cheatsheet - .htaccess | Google Groups&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.thejackol.com/htaccess-cheatsheet/"&gt;the jackol&amp;rsquo;s den &amp;raquo; htaccess Cheatsheet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://httpd.apache.org/docs/2.2/"&gt;Apache HTTP Server Version 2.2 Documentation - Apache HTTP Server&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/dIbsz2OcBuA" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/ridgey28#2010-08-29</feedburner:origLink></item><item><title>Links for 2010-08-28 [del.icio.us]</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/8StHvXddqSo/ridgey28</link><pubDate>Sun, 29 Aug 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/ridgey28#2010-08-28</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.noupe.com/tools/45-free-applications-for-designers-and-developers.html"&gt;45 Free Applications For Designers And Developers - Noupe Design Blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blueblots.com/freebies/free-download-25-free-rss-icon-sets/"&gt;Free Download: 25 Free RSS Icon Sets | blueblots.com&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/8StHvXddqSo" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/ridgey28#2010-08-28</feedburner:origLink></item><item><title>Links for 2010-08-26 [del.icio.us]</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/VSYZcFab1Q4/ridgey28</link><pubDate>Fri, 27 Aug 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/ridgey28#2010-08-26</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.sencha.com/products/touch/index.php"&gt;Sencha - Sencha Touch Overview - HTML5 Mobile App Framework&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://sifrvault.com/"&gt;sIFRvault - A Repository of sIFR fonts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keyframesandcode.com/resources/javascript/deconstructed/"&gt;JS Libs Deconstructed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.maketext.be/"&gt;makeTEXT, because lorum ipsum is so boring&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://drop.io/"&gt;Simple private real-time sharing and collaboration by drop.io&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://scr.im/"&gt;scr.im &amp;laquo; Share your email in a safe way. Get less spam.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.shiftspace.org/"&gt;ShiftSpace | mix, annotate, shift, share, any website, anywhere&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://quixapp.com/"&gt;Quix - Your Bookmarklets, On Steroids&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.primercss.com/"&gt;PrimerCSS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://aloha-editor.com/"&gt;Aloha Editor - The HTML5 Editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://alloy.liferay.com/"&gt;Alloy UI - A project of Liferay&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://swatchspot.com/"&gt;Random Color Swatch Generator | SwatchSpot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://tweetment.com/"&gt;Tweetment | Expressive Tweets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.bounceapp.com/"&gt;Bounce &amp;ndash; A fun and easy way to share ideas on a website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://ubuntulinuxtipstricks.blogspot.com/2010/08/is-packaging-new-software-hard.html"&gt;Ubuntu Linux Tips &amp;amp; Tricks: Is packaging new software hard?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/VSYZcFab1Q4" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/ridgey28#2010-08-26</feedburner:origLink></item><item><title>Links for 2010-08-25 [del.icio.us]</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/qC40PiHffjc/ridgey28</link><pubDate>Thu, 26 Aug 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/ridgey28#2010-08-25</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://fontfonter.com/"&gt;FontFonter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://djdesignerlab.com/2010/08/24/40-useful-tools-for-web-designers-and-developers/"&gt;40 Useful Tools For Web Designers and Developers &amp;raquo; DJDESIGNERLAB &amp;ndash; Find All Your Design Inspirations From This Laboratory&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/qC40PiHffjc" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/ridgey28#2010-08-25</feedburner:origLink></item><item><title>Getting to grips with PHP Radio Buttons</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/eJVe4ap88J0/getting-to-grips-with-php-radio-buttons</link><category>PHP</category><category>Form</category><category>Php</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Wed, 25 Aug 2010 14:08:24 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2253</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Following on from <a href="http://www.worldoweb.co.uk/2010/getting-to-grips-with-php-checkboxes" title="getting to grips with PHP checkboxes" target="blank">getting to grips with PHP Checkboxes</a> I decided to write a little tutorial on radio buttons.  As you know radio buttons can only have 1 state either on or off and only one can be selected at any one time. Here is a simple tutorial on how to get data from a database, select the radio button, get data from the form and update the database.  If you have previously read and completed the setup procedure the process is the same so you may want to go straight to the <a href="#radio">demo</a>.</p>
<h3 class="border">Prerequisites</h3>
<p>I am assuming that you have access to a PHP web server and have a MYSQL database.  I highly recommend <a href="http://www.apachefriends.org/en/xampp.html" title="Xampp" target="blank">Xampp</a> for your testing needs.  I am also assuming that you know the basics on uploading and using an FTP program and have the use of a text editor or IDE.</p>
<h3 class="border">Database Setup</h3>
<p>When it comes to the database I like the simpler things in life so I use a MYSQL class from <a href="http://www.ricocheting.com/code/php/mysql-database-class-wrapper" title="MYSQL database class wrapper" target="blank">Ricocheting.com.</a>  This will be included within the script in which you can download from the bottom of this <a href="#download">post.</a>  Unzip the download file and upload it to your server.  As you can see the checkbox_demo folder has 1 file and 1 folder containing 3 files.  Inside the lib folder there is the <strong>Database.class.php</strong>, <strong>config.php</strong> and <strong>setup.php</strong> and in the root folder there is <strong>index.php</strong>.  First and foremost you need to open <strong>config.php</strong> and put your database settings in the appropriate places and save.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #666666; font-style: italic;">//database server</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_SERVER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//database login name</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//database login password</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASS'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//database name</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_DATABASE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//smart to define your table names also</span><br />
<span style="color: #666666; font-style: italic;">//define('TABLE_USERS', &quot;&quot;);</span><br />
<span style="color: #666666; font-style: italic;">//define('TABLE_NEWS', &quot;&quot;);</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>Now navigate to <strong>lib/setup.php</strong> with your browser.  Below is the source of the setup file to give you an understanding.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
&lt;title&gt;Database Setup&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;h1&gt;Setup&lt;/h1&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'submit'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;form name=&quot;setup&quot; action=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PHP_SELF'</span><span style="color: #009900;">&#93;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; method=&quot;post&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;submit&quot; value=&quot;Setup&quot; name=&quot;submit&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/form&gt;<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">require</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Database.class.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$query</span><span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;CREATE TABLE IF NOT EXISTS options(<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id int(1) NOT NULL auto_increment,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; radio varchar (20) NOT NULL,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; primary key (id))&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'radio'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'cat'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$success</span><span style="color: #339933;">=</span><span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query_insert</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;options&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$success</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$myFile</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;setup.php&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unlink"><span style="color: #990000;">unlink</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myFile</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location: ../index.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&lt;/body&gt;<br />
&lt;/html&gt;</div></td></tr></tbody></table></div>
<p><a name="radio"><br />
<h3 class="border">The Radio Button Demo</h3>
<p></a></p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;?php</span> &nbsp;<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'lib/Database.class.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT radio from options WHERE id='1'&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query_first</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$radio</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'radio'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'cat'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet1</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet1</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'dog'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet2</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet2</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'bird'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet3</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet3</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'rabbit'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet4</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet4</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'horse'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet5</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><span style="color: #000088;">$pet5</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>Now as for <strong>index.php</strong> which I have split into 3 parts.  The opening lines connect, query and get the value of the radio button from the database.  It stores the value of radio to the variable <strong>$radio</strong> and then it checks to see which radio button value it matches and appropriately selects it.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">&lt;?php</span> &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'submitted'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$selected_radio</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">if</span> &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#40;</span><span style="color: #000088;">$selected_radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'cat'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$pet1</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$selected_radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'dog'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$pet2</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$selected_radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'bird'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$pet3</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$selected_radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'rabbit'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$pet4</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$selected_radio</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'horse'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$pet5</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$selected_radio</span><span style="color: #339933;">=</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pets'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'radio'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span> <span style="color: #000088;">$selected_radio</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query_update</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;options&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;id='1'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location: index.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>The second part deals with the saving the data to the database.  First it checks to see if the hidden field has been submitted then the variable <strong>$selected_radio</strong> is assigned the value of the radio button that has been selected and then the database is updated accordingly with the correct values and the page is told to refresh.</p>
<div class="codecolorer-container html4strict mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #00bbdd;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span> xml:<span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;en&quot;</span> <span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;en&quot;</span> &gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;">meta</span></a> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span>Simple Radio Button Test<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php $_SERVER['PHP_SELF']?&gt;</span></span>&quot; method=&quot;post&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Pets&quot;</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pets&quot;</span> <span style="color: #000066;">accesskey</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;p&quot;</span>&gt;</span>Which one of the following is your favourite pet?<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pets&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pet1&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;cat&quot;</span> &lt;?php print $pet1 ?&gt;</span> /&gt;Cat<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pets&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pet2&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;dog&quot;</span> &lt;?php print $pet2?&gt;</span> /&gt;Dog<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pets&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pet3&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bird&quot;</span> &lt;?php print $pet3?&gt;</span> &nbsp;/&gt;Bird<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pets&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pet4&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rabbit&quot;</span> &lt;?php print $pet4?&gt;</span> &nbsp;/&gt;Rabbit<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pets&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pet5&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;horse&quot;</span> &lt;?php print $pet5?&gt;</span> &nbsp;/&gt;Horse<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a><span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">br</span></a><span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submitted&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>As you can see in the 3rd part this is the basic form where the contents of the radio are determined by the values that have come from the database or have been changed by user input.</p>
<p><a name="download" href="/scripts/radio_demo.zip" target="blank" title="radio_demo"> <img src="http://www.worldoweb.co.uk/wp-content/thumbnails/download.png" alt="Download" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=eJVe4ap88J0:lt9XQZSZIEs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=eJVe4ap88J0:lt9XQZSZIEs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=eJVe4ap88J0:lt9XQZSZIEs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=eJVe4ap88J0:lt9XQZSZIEs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=eJVe4ap88J0:lt9XQZSZIEs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=eJVe4ap88J0:lt9XQZSZIEs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=eJVe4ap88J0:lt9XQZSZIEs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=eJVe4ap88J0:lt9XQZSZIEs:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=eJVe4ap88J0:lt9XQZSZIEs:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/eJVe4ap88J0" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/radio.png" alt="Radio BT" height="85" width="85" /&gt;&lt;/div&gt;

&lt;p class="title"&gt;Following on from getting to grips with PHP Checkboxes I decided to write a little tutorial on radio buttons.  As you know radio buttons can only have 1 state either on or off and only one can be selected at any one time. Here is a simple tutorial on how to get data from a database, select the radio button, get data from the form and update the database.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/getting-to-grips-with-php-radio-buttons/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/getting-to-grips-with-php-radio-buttons</feedburner:origLink></item><item><title>Getting to grips with PHP Checkboxes</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/S-k_Jlea7Gs/getting-to-grips-with-php-checkboxes</link><category>PHP</category><category>Form</category><category>Php</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Tue, 24 Aug 2010 12:26:06 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2249</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>The aim of this tutorial is simply to get the data from a checkbox and store it in a MYSQL database and on page load the data is retrieved from the database and is shown which would be suitable for an options page in a web app.</p>
<h3 class="border">Prerequisites</h3>
<p>I am assuming that you have access to a PHP web server and have a MYSQL database.  I highly recommend <a href="http://www.apachefriends.org/en/xampp.html" title="Xampp" target="blank">Xampp</a> for your testing needs.  I am also assuming that you know the basics on uploading and using an FTP program and have the use of a text editor or IDE.  </p>
<h3 class="border">Database Setup</h3>
<p>When it comes to the database I like the simpler things in life so I use a MYSQL class from <a href="http://www.ricocheting.com/code/php/mysql-database-class-wrapper" title="MYSQL database class wrapper" target="blank">Ricocheting.com.</a>  This will be included within the script in which you can download from the bottom of this <a href="#download">post.</a>  Unzip the download file and upload it to your server.  As you can see the checkbox_demo folder has 1 file and 1 folder containing 3 files.  Inside the lib folder there is the <strong>Database.class.php</strong>, <strong>config.php</strong> and <strong>setup.php</strong> and in the root folder there is <strong>index.php</strong>.  First and foremost you need to open <strong>config.php</strong> and put your database settings in the appropriate places and save.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #666666; font-style: italic;">//database server</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_SERVER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//database login name</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;your login name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//database login password</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASS'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Your MYSQL PASSWORD&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//database name</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_DATABASE'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Your Database&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//smart to define your table names also</span><br />
<span style="color: #666666; font-style: italic;">//define('TABLE_USERS', &quot;&quot;);</span><br />
<span style="color: #666666; font-style: italic;">//define('TABLE_NEWS', &quot;&quot;);</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>Now navigate to <strong>lib/setup.php</strong> with your browser.  Below is the source of the setup file to give you an understanding.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
&lt;title&gt;Database setup&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;h1&gt;Setup&lt;/h1&gt;<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'submit'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;form name=&quot;setup&quot; action=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PHP_SELF'</span><span style="color: #009900;">&#93;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; method=&quot;post&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;submit&quot; value=&quot;Setup&quot; name=&quot;submit&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/form&gt;<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <br />
&nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">require</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Database.class.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$query</span><span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;CREATE TABLE IF NOT EXISTS options(<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id int(1) NOT NULL auto_increment,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; checkbox ENUM('Y','N') NOT NULL DEFAULT 'N',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; primary key (id))&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'checkbox'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'N'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$success</span><span style="color: #339933;">=</span><span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query_insert</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;options&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$success</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$myFile</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;setup.php&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unlink"><span style="color: #990000;">unlink</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myFile</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location: ../index.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&lt;/body&gt;<br />
&lt;/html&gt;</div></td></tr></tbody></table></div>
<p><strong>Setup.php</strong> is a basic form when the user clicks on setup button the script creates the table called options within your database, then creates the checkbox column which is of a type <strong>enum</strong>, a string that can only take 1 set of allowed values, in my case &#8216;Y&#8217; or &#8216;N&#8217;.  Then it adds data to the database, deletes the setup file and then re-directs you to <strong>index.php</strong>. </p>
<h3 class="border">The Checkbox Demo</h3>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'lib/Database.class.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT checkbox from options WHERE id='1'&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query_first</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$checkbox</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'checkbox'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$checkbox</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$selected</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'checked=&quot;checked&quot;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$value</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'Y'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$selected</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$value</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'N'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>Now as for <strong>index.php</strong> which I have split into 3 parts.  The opening lines connect, query and select the value of checkbox from the database.  It stores the value of checkbox to the variable <strong>$checkbox</strong> and  then it checks to see if the value of checkbox is &#8216;Y&#8217; or &#8216;N&#8217;. If it is &#8216;Y&#8217; then the variable <strong>$value</strong> is given a &#8216;Y&#8217; and the variable <strong>$selected</strong> is then given &#8216;checked=&#8221;checked&#8221;&#8216;.  This is then passed on to the form which will tick the checkbox and set the value of the checkbox to &#8216;Y&#8217;. </p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'submitted'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'flowers'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span> <span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$value</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'Y'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$value</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'N'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'checkbox'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span> <span style="color: #000088;">$value</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query_update</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;options&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;id='1'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location: index.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>The second part deals with the saving the data to the database.  First it checks to see if the hidden field has been submitted then it checks to see if the form flowers value is &#8216;Y&#8217; or &#8216;N&#8217;. if it is &#8216;Y&#8217; the <strong>$value</strong> variable is set to &#8216;Y&#8217; and then the database is updated accordingly with the correct values and the page is told to refresh.</p>
<div class="codecolorer-container html4strict mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #00bbdd;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span> xml:<span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;en&quot;</span> <span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;en&quot;</span> &gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;">meta</span></a> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span>Simple Checkbox Test<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php $_SERVER['PHP_SELF']?&gt;</span></span>&quot; method=&quot;post&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;flowers&quot;</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;flowers&quot;</span>&gt;</span> Do you like flowers? <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;flowers&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php echo $value ?&gt;</span></span>&quot; <span style="color: #009900;">&lt;?php print $selected; ?&gt;</span> /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submitted&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>As you can see in the 3rd part this is the basic form where the contents of checkbox are determined by the values that have come from the database or has been changed by user input.</p>
<p><a name="download" href="/scripts/checkbox_demo.zip" target="blank" title="checkbox_demo"> <img src="http://www.worldoweb.co.uk/wp-content/thumbnails/download.png" alt="Download" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=S-k_Jlea7Gs:GIomZm1e6VY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=S-k_Jlea7Gs:GIomZm1e6VY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=S-k_Jlea7Gs:GIomZm1e6VY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=S-k_Jlea7Gs:GIomZm1e6VY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=S-k_Jlea7Gs:GIomZm1e6VY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=S-k_Jlea7Gs:GIomZm1e6VY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=S-k_Jlea7Gs:GIomZm1e6VY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=S-k_Jlea7Gs:GIomZm1e6VY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=S-k_Jlea7Gs:GIomZm1e6VY:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/S-k_Jlea7Gs" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/checkbox.jpg" alt="Checkbox" height="85" width="85" /&gt;&lt;/div&gt;&lt;p class="title"&gt;The aim of this tutorial is simply to get the data from a checkbox and store it in a MYSQL database and on page load the data is retrieved from the database and is shown which would be suitable for an options page in a web app.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/getting-to-grips-with-php-checkboxes/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/getting-to-grips-with-php-checkboxes</feedburner:origLink></item><item><title>Links for 2010-08-14 [del.icio.us]</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/IKxwjbEghEU/ridgey28</link><pubDate>Sun, 15 Aug 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/ridgey28#2010-08-14</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.cgtextures.com/"&gt;[CG Textures] - The worlds largest free texture site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.textureking.com/index.php/category/all-textures"&gt;Free &amp;raquo; All Textures Textures from TextureKing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/IKxwjbEghEU" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/ridgey28#2010-08-14</feedburner:origLink></item><item><title>Web Hosting: Defined</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/zu8uYn49_CU/web-hosting-defined</link><category>Toolbox</category><category>Cloud</category><category>Computing</category><category>Hosting</category><category>Server</category><category>Web</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Mon, 02 Aug 2010 12:23:04 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2221</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>You can&#8217;t have a website without a web host.  It&#8217;s like having a house without having any land to build it on.  Until you get that virtual real estate, all you have is a design and a plan.  Before you go shopping for a web host, you should be aware that there are different kinds of <a href="http://www.webhostingsearch.com/" title="Web Hosting Search" target="_blank">web hosting</a>, with different benefits and different price ranges. Here&#8217;s a breakdown of what different types of web hosting mean, so you can decide exactly what you need before you get into a hosting contract.
</p>
<h3 class="border">Low End Hosting: Shared Server</h3>
<p>Just because <a href="http://en.wikipedia.org/wiki/Shared_web_hosting_service" target="_blank" title="Wikipedia-Shared Web Hosting">shared server</a> pricing is on the cheap side doesn&#8217;t mean it&#8217;s low quality.  A shared server plan may only cost you a few dollars a month, but this is only because it doesn&#8217;t take up too much of the web hosts resources.  When you enter a shared server arrangement, you get to use part of a server to host your website.  The rest of the server is used by other people to host their websites.  There&#8217;s no way that any of their websites can bleed onto yours, but you do share an IP address and control panel, and things that affect the entire server will affect you as well as them.</p>
<h3 class="border">Mid Range Hosting: Virtual Private Server (VPS)</h3>
<p>With an arrangement on a <a href="http://www.webhostingsearch.com/virtual-private-server.php" target="_blank" title="Virtual Private Server">virtual private server</a>, you&#8217;re still using the same server as other people, but it is partitioned so that your part of it acts as if it were its own server, with its own IP address, control panel and functionality.  It costs a little more, but it&#8217;s cheaper than a private server while still giving you many of the benefits of a private server, including increased disk space and bandwidth, and more freedom with your use of tool sets and applications that go with designing and maintaining your domains.</p>
<h3 class="border">High Level Hosting: Dedicated Server</h3>
<p>In this case, you&#8217;ve got a server all to yourself. This one can be pricey, because the web host can&#8217;t make any money off of the server other than what they get from you. However, if you&#8217;ve got a big Internet business with lots of websites and pages and lots of traffic, this is the way to go.  You get massive bandwidth and disk space, and complete freedom and control over administration of the server, including the ability to change operating systems and programming languages if it suits you.</p>
<h3 class="border">Other Options: Cloud Computing, Reseller Hosting</h3>
<p><a href="http://en.wikipedia.org/wiki/Cloud_computing" title="Wikipedia-Cloud Computing" target="_blank">Cloud computing</a> is a plan where you purchase services, disk space and bandwidth a la carte, you just take what you need and pay for what you take. If you&#8217;re planning long term server use though, you should probably make the move to at least a shared server eventually. A reseller hosting plan is sort of like subletting an apartment. You pay for the whole server and sell pieces of it to your own clients. This is a good option for a web designer or a budding web host. </p>
<h2>About The Author</h2>
<p class="guest">
<img src="http://worldoweb.co.uk/wp-content/thumbnails/avatar.jpg" width="100" height="100" alt="Kirsten" /><span><strong>Kirsten Ramsburg</strong> is a semi-techie single mom who is currently working as a senior writer for <a href="http://www.webhostingsearch.com/" title="Webhostingsearch.com" target="blank"> Webhostingsearch.com</a>.</span></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=zu8uYn49_CU:b6HhCmggR3s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=zu8uYn49_CU:b6HhCmggR3s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=zu8uYn49_CU:b6HhCmggR3s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=zu8uYn49_CU:b6HhCmggR3s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=zu8uYn49_CU:b6HhCmggR3s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=zu8uYn49_CU:b6HhCmggR3s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=zu8uYn49_CU:b6HhCmggR3s:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=zu8uYn49_CU:b6HhCmggR3s:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=zu8uYn49_CU:b6HhCmggR3s:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/zu8uYn49_CU" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/WebServer.png" height="85" width="85" alt="Web Server" /&gt;&lt;/div&gt;
&lt;p class="title"&gt;
You can't have a website without a web host.  It's like having a house without having any land to build it on.  Until you get that virtual real estate, all you have is a design and a plan.  Before you go shopping for a web host, you should be aware that there are different kinds of web hosting, with different benefits and different price ranges.  Here's a breakdown of what different types of web hosting mean, so you can decide exactly what you need before you get into a hosting contract.
&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/web-hosting-defined/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/web-hosting-defined</feedburner:origLink></item><item><title>Top Ten Inspiring Websites – Linux</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/ExmF4LJQ6wA/top-ten-inspiring-websites-linux</link><category>Top Ten</category><category>Blog</category><category>Linux</category><category>Software</category><category>Twitter</category><category>Ubuntu</category><category>Web</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Sun, 04 Jul 2010 07:23:25 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1967</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I am relatively new to Linux and have used is as my primary OS for the past year.  I have come across some wonderful inspiring sites that have helped me through the process and made it easier.  Here are my top ten Linux Web sites.</p>
<h2><a href="http://www.webupd8.org/" title="Web Upd8" target="_blank">WebUpd8</a></h2>
<p>Webupd8 have an extensive amount of posts covering Linux, Windows and the web.  They have recently launched their own launchpad <a href="https://edge.launchpad.net/~nilarimogard/+archive/webupd8" title="Webupd8 PPA" target="blank">PPA</a> so that you can update your software with ease. </p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/webupdate.png" title="A very informative website featuring posts on Linux." class="thickbox" rel="singlepic247" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/247__320x240_webupdate.png" alt="Webupd8" title="Webupd8" />
</a>

<p>Follow <a href="http://twitter.com/webupd8" title="@webupd8" target="blank">@webupd8</a> on twitter.</p>
<h2><a href="http://www.omgubuntu.co.uk/" title="OMG Ubuntu" target="_blank">OMG Ubuntu</a></h2>
<p>OMG Ubuntu features include tutorials, reviews, polls and application releases.  Their posts are concise and informal making them easier to understand for all.<br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/omgubuntu.png" title="A very easy to follow website for newbies and novices alike." class="thickbox" rel="singlepic240" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/240__320x240_omgubuntu.png" alt="OMGubuntu" title="OMGubuntu" />
</a>
</p>
<p>Follow <a href="http://twitter.com/omgubuntu" title="@omgubuntu"  target="blank">@omgubuntu</a> on twitter.</p>
<h2><a href="http://www.howtoforge.com/" title="HowtoForge" target="_blank">HowtoForge</a></h2>
<p>HowtoForge hosts easy to follow Linux tutorials covering all topics.  Topics include Distributions, servers, DNS, Email, FTP and many more.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/howtoforge.gif" title="Hosts a great collection of user friendly tutorials for all distributions. " class="thickbox" rel="singlepic237" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/237__320x240_howtoforge.gif" alt="HowtoForge" title="HowtoForge" />
</a>

<h2><a href="http://www.linux.com/" title="Linux.com" target="_blank">Linux.com</a></h2>
<p>Linux.com is a product from the <a href="http://www.linuxfoundation.org/" title="Linux Foundation" target="blank">Linux foundation</a>.  Harnessing the power of Linux users worldwide to inform, collaborate and connect on all matters Linux.  Linux.com is for the community by the community.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/linux-com_.png" title="A community driven website for the community. " class="thickbox" rel="singlepic238" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/238__320x240_linux-com_.png" alt="Linux.com" title="Linux.com" />
</a>

<p>Follow <a href="http://twitter.com/linuxfoundation" target="blank" title="@linuxfoundation">@linuxfoundation</a> on twitter.</p>
<h2><a href="http://www.ubuntugeek.com/" title="Ubuntu Geek" target="_blank">Ubuntu Geek</a></h2>
<p>Ubuntu geek is an informative website that aims to help the transition easier from Windows. This blog contains Ubuntu Tips, tricks, howto&#8217;s, news and articles.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/ubuntu-geek.jpg" title="Contains Ubuntu Tips, Tricks, Howto’s, news and articles." class="thickbox" rel="singlepic258" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/258__320x240_ubuntu-geek.jpg" alt="Ubuntu Geek" title="Ubuntu Geek" />
</a>

<p>Follow <a href="http://twitter.com/ubuntugeek" target="blank" title="@ubuntugeek">@ubuntugeek</a> on twitter.</p>
<h2><a href="http://www.workswithu.com/" title="WorksWithU" target="_blank">WorksWithU</a></h2>
<p>WorksWithU is produced by <a href="http://ninelivesmediainc.com/">Nine Lives Medai inc.</a> They track the strengths and weaknesses of Ubuntu and deliver content via their blog. </p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/workswithu.png" title="An independent guide to Ubuntu." class="thickbox" rel="singlepic248" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/248__320x240_workswithu.png" alt="WorksWithU" title="WorksWithU" />
</a>

<p>Follow <a href="http://twitter.com/workswithu/" title="@WorksWithU" target="blank">@WorksWithU</a> on twitter.</p>
<h2><a href="http://tuxradar.com/" title="TuxRadar" target="_blank">TuxRadar</a></h2>
<p>TuxRadar, backed by the magazine Linux Format, is a website devoted to supporting the free software community by providing news, reviews, tutorials and more for free. They also publish a podcast about free software every two weeks. </p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/tuxradar.png" title="TuxRadar is a website devoted to supporting the free software community." class="thickbox" rel="singlepic244" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/244__320x240_tuxradar.png" alt="TuxRadar" title="TuxRadar" />
</a>

<p>Follow <a href="http://twitter.com/tuxradar" title="@tuxradar" target="blank">@tuxradar</a> on twitter.</p>
<h2><a href="http://distrowatch.com/" title="DistroWatch" target="_blank">Distrowatch.com</a></h2>
<p>Distrowatch started out as a very simple table that tracked the 5 major Linux distributions.  Now with 317 active distributions, distrowatch has grown into very popular website that keeps you informed of the latest releases and keeps you informed on Linux news via a weekly newsletter. </p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/distrowatch.png" title="Keeps you updated on all of the popular distributions as well as having a catalogue of every distribution. " class="thickbox" rel="singlepic235" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/235__320x240_distrowatch.png" alt="Distrowatch" title="Distrowatch" />
</a>

<p>Follow <a href="http://twitter.com/DistroWatch" title="@DistroWatch" target="blank">@DistroWatch</a> on twitter.</p>
<h2><a href="http://opendesktop.org/" title="Open Desktop" target="_blank">Opendesktop.org</a></h2>
<p>openDesktop.org is one of the biggest online communities, social networks and portals for the free desktop movement in the world where developers, artists and users can share applications, tools, wallpapers, sounds, icons, themes and other artwork and stuff for the open desktop.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/opendesktop.jpg" title="Online community where people share apps, graphics around a variety of social networks." class="thickbox" rel="singlepic241" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/241__320x240_opendesktop.jpg" alt="Opendesktop" title="Opendesktop" />
</a>

<p>Follow <a href="http://twitter.com/Opendesktop" title="@openDesktop" target="blank">@openDesktop</a> on twitter.</p>
<h2><a href="http://ubuntu-tweak.com/" title="Ubuntu Tweak" target="_blank">Ubuntu Tweak</a></h2>
<p>Not only is Ubuntu Tweak a website that provides a online catalogue of software and sources it is also a application that is designed to configure Ubuntu and make it easier for everyone. It provides many useful desktop and system options that the default desktop environment doesn&#8217;t provide.  </p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/topten/ubuntu-tweak.png" title="Makes Ubuntu easier for everyone to use." class="thickbox" rel="singlepic245" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/245__320x240_ubuntu-tweak.png" alt="Ubuntu Tweak" title="Ubuntu Tweak" />
</a>

<p>Follow <a href="http://twitter.com/Ubuntu_Tweak" title="@Ubuntu_Tweak" target="blank">@Ubuntu_Tweak</a> on twitter.</p>
<p>Do you have a favourite website that is dedicated to Linux users?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=ExmF4LJQ6wA:4lwDyzfZDEI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=ExmF4LJQ6wA:4lwDyzfZDEI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=ExmF4LJQ6wA:4lwDyzfZDEI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=ExmF4LJQ6wA:4lwDyzfZDEI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=ExmF4LJQ6wA:4lwDyzfZDEI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=ExmF4LJQ6wA:4lwDyzfZDEI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=ExmF4LJQ6wA:4lwDyzfZDEI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=ExmF4LJQ6wA:4lwDyzfZDEI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=ExmF4LJQ6wA:4lwDyzfZDEI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/ExmF4LJQ6wA" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/topten.png" height="85" width="85" alt="Top Ten Inspiring Websites - Linux" /&gt;&lt;/div&gt;&lt;p class="title"&gt;
I am relatively new to Linux and have used is as my primary OS for the past year.  I have come across some wonderful inspiring sites that have helped me through the process and made it easier.  Here are my top ten Linux Web sites.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/top-ten-inspiring-websites-linux/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/top-ten-inspiring-websites-linux</feedburner:origLink></item><item><title>My Switch To Linux and Why I Will Never Look Back!</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/39o19r6CFys/my-switch-to-linux-and-why-i-will-never-look-back</link><category>Reviews</category><category>Linux</category><category>Mint</category><category>OS</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Thu, 20 May 2010 03:34:29 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2167</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<h3 class="border">Brief History</h3>
<p>Back in 2007 I discovered this Linux OS called Ubuntu and how everybody was raving about it.  So I tried it on my desktop computer and I could not get my wireless usb stick to work so I gave up.  Roll on 2 years and I was slightly curious again so I installed a different distro, this time Mandriva.  Everything worked perfect and I was instantly converted.</p>
<p>Having had a bad experience with Ubuntu I discovered Linux Mint 7 in August 2009.  Having previously used the KDE desktop I was curious to see what Gnome was like.  After installing Gloria I knew instantly that I have found the one distro for me.  From the looks to the speed, everything was great.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/linux/desktop.png" title="This is how I like my desktop to look." class="thickbox" rel="singlepic257" >
	<img class="ngg-singlepic ngg-right" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/257__320x240_desktop.png" alt="The Mint Desktop" title="The Mint Desktop" />
</a>

<p>Mint is now on version 9 which has got to be the best version yet.  It took me 10 minutes to install and I had most of my programs up and running within an hour.  The speed of my laptop when running Mint compared to XP is noticeably different, which allows me to do far more with mint, especially running multiple programs.</p>
<h3 class="border">Future</h3>
<p>What does the future hold for Linux?  Well after my experience in 2007 I was glad to try it again and that my computer actually runs better and has a little eye candy.  There is a good range of software and with the likes of Ubuntu Tweak and Ailurus, tweaking, adding sources (latest versions of software) and cleaning have been made simple, thus making it very user friendly.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/linux/nautilus.png" title="The default file manager for the Gnome desktop.  Quick and clever." class="thickbox" rel="singlepic256" >
	<img class="ngg-singlepic ngg-left" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/256__320x240_nautilus.png" alt="Nautilus" title="Nautilus" />
</a>

<p>Now as for gaming and the news that Steam are going to release a version for Linux can only make Linux stronger than ever.  I have often dreamed of playing my Football manager game on my Linux box.<br />
I would, however love to get my Belkin USB network hub working so that I can print and access my external hard drive.  I am sure Belkin would also gain some popularity aiming there products for all OS&#8217;s.
</p>
<p>To draw a conclusion If you have had a bad experience with Linux in the past don&#8217;t ever let it put you off.  I didn&#8217;t and I made the switch and that&#8217;s why I will never look back.  My computer runs Linux perfect and I can still do everything I want with Aptana, Gimp, Evolution and Firefox to name a few.  If I bought a new computer tomorrow I would first install Mint.</p>
<p>Were you pleased with making the switch?  Did everything go plain sailing?  What future do you think that Linux holds?  I would love to hear all of your stories</p>
<h2>Related Posts</h2>
<ul>
<li>
<a href="http://www.worldoweb.co.uk/2009/linux-hail-helena" title="Linux Hail Helena">Linux Hail Helena</a>
</li>
<li><a href="http://www.worldoweb.co.uk/2009/software-catalogue-for-windows-and-linux" title="Software Catalogue for Windows and Linux">Software Catalogue for Windows and Linux</a></li>
<li><a href="http://www.worldoweb.co.uk/2009/is-2009-the-year-of-linux" title="Is 2009 the Year of Linux?">Is 2009 the Year of Linux?</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=39o19r6CFys:BnAJww0KyNc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=39o19r6CFys:BnAJww0KyNc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=39o19r6CFys:BnAJww0KyNc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=39o19r6CFys:BnAJww0KyNc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=39o19r6CFys:BnAJww0KyNc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=39o19r6CFys:BnAJww0KyNc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=39o19r6CFys:BnAJww0KyNc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=39o19r6CFys:BnAJww0KyNc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=39o19r6CFys:BnAJww0KyNc:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/39o19r6CFys" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/minty.png" alt="Linux Mint" height="85" width="85"  /&gt;&lt;/div&gt;&lt;p class="title"&gt;Back in 2007 I discovered this Linux OS called Ubuntu and how everybody was raving about it.  So I tried it on my desktop computer and I could not get my wireless usb stick to work so I gave up.  Roll on 2 years and I was slightly curious again so I installed a different distro, this time Mandriva.  Everything worked perfect and I was instantly converted.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/my-switch-to-linux-and-why-i-will-never-look-back/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/my-switch-to-linux-and-why-i-will-never-look-back</feedburner:origLink></item><item><title>New World Theme Release</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/HmPQVtzH004/new-world-theme-release</link><category>Wordpress</category><category>Blog</category><category>Theme</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Sun, 18 Apr 2010 13:36:57 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2135</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>New World is an adaptation of my 3rd theme.  It is lightweight and suitable for all audiences.  It includes a customiseable social networking header that has it&#8217;s own admin area.  Comments are written throughout template files to aid your customisation. Once downloaded please read the readme.html in the instructions folder for general F.A.Qs. </p>
<h3>Features include:</h3>
<ul>
<li>Widget Ready</li>
<li>Fluid Width</li>
<li>Valid XHTML &amp; CSS</li>
<li>Two Columns</li>
<li>Comments &amp; Pings are separated</li>
<li>Support for threaded comments</li>
<li>WP-navi plugin compatible</li>
<li>Admin area</li>
<li>Features CSS3</li>
<li>Thoroughly tested on all common browsers</li>
</ul>
<h3>Screenshots</h3>
<div class="ngg-galleryoverview" id="ngg-gallery-30-2135">


	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.worldoweb.co.uk/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=30&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-251" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/indexpage.png" title="This is the homepage which displays excerpts (snippets) of posts." class="thickbox" rel="set_30" >
								<img title="index.php " alt="index.php " src="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/thumbs/thumbs_indexpage.png" width="100" height="53" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-252" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/navbar.png" title="A 2-3 tiered navigation bar." class="thickbox" rel="set_30" >
								<img title="Navigation Bar" alt="Navigation Bar" src="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/thumbs/thumbs_navbar.png" width="100" height="53" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-254" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/nwsinglepage.jpg" title="This is the single.php template file which displays the full contents of your post along with the comments." class="thickbox" rel="set_30" >
								<img title="Single blog post." alt="Single blog post." src="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/thumbs/thumbs_nwsinglepage.jpg" width="77" height="100" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-255" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/comments.png" title="A custom comments area." class="thickbox" rel="set_30" >
								<img title="Comments" alt="Comments" src="http://www.worldoweb.co.uk/wp-content/gallery/newworldtheme/thumbs/thumbs_comments.png" width="100" height="42" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

<p><a href="/scripts/NewWorld_1.2.zip" title="Download NewWorld Theme" target="blank"><img src="http://www.worldoweb.co.uk/wp-content/thumbnails/download.png" alt="Download" /></a> </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=HmPQVtzH004:EqR5hZb3f1U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=HmPQVtzH004:EqR5hZb3f1U:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=HmPQVtzH004:EqR5hZb3f1U:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=HmPQVtzH004:EqR5hZb3f1U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=HmPQVtzH004:EqR5hZb3f1U:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=HmPQVtzH004:EqR5hZb3f1U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=HmPQVtzH004:EqR5hZb3f1U:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=HmPQVtzH004:EqR5hZb3f1U:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=HmPQVtzH004:EqR5hZb3f1U:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/HmPQVtzH004" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/wordpress.jpg" alt="WorldOWeb Theme Release" height="85" width="85"  /&gt;&lt;/div&gt;&lt;p class="title"&gt;New World is an adaptation of my 3rd theme.  It is lightweight and suitable for all audiences.  It includes a customiseable social networking header that has it's own admin area.  Comments are written throughout template files to aid your customisation.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/new-world-theme-release/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">3</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/new-world-theme-release</feedburner:origLink></item><item><title>Twitter Script Updated and Given A New Name</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/vTNg-l7_nJo/twitter-script-updated-and-given-a-new-name</link><category>Toolbox</category><category>Php</category><category>Scripts</category><category>Tweet</category><category>Twitter</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Tue, 13 Apr 2010 05:45:16 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2115</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Back in 2009 I wrote a post on how to display twitter posts on your site.  I went back to it recently and decided to tweak it further.  As you see it is now updated to include &#8216;time since&#8217; post.  Check my sidebar for an example. I would like to thank JR over at <a href="http://www.if-not-true-then-false.com/2010/01/php-calculate-real-differences-between-two-dates-or-timestamps/" title="If Not True Then False" target="blank">IF Not True Then False</a> for the handy PHP function.<br />
The new script is now called <strong>W.O.W TweetShow</strong>.</p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:600px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #666666; font-style: italic;">// Set timezone</span><br />
&nbsp; <a href="http://www.php.net/date_default_timezone_set"><span style="color: #990000;">date_default_timezone_set</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;UTC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">function</span> dateDiff<span style="color: #009900;">&#40;</span><span style="color: #000088;">$time1</span><span style="color: #339933;">,</span> <span style="color: #000088;">$time2</span><span style="color: #339933;">,</span> <span style="color: #000088;">$precision</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">6</span><span style="color: #009900;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/is_int"><span style="color: #990000;">is_int</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$time1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$time1</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$time1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/is_int"><span style="color: #990000;">is_int</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$time2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$time2</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$time2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$time1</span> <span style="color: #339933;">&gt;</span> <span style="color: #000088;">$time2</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$ttime</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$time1</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$time1</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$time2</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$time2</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$ttime</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$intervals</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'year'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'month'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'day'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'hour'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'minute'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'second'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$diffs</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$intervals</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$interval</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$diffs</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$interval</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$ttime</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;+1 &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$interval</span><span style="color: #339933;">,</span> <span style="color: #000088;">$time1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$time2</span> <span style="color: #339933;">&gt;=</span> <span style="color: #000088;">$ttime</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$time1</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$ttime</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$diffs</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$interval</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">++;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$ttime</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;+1 &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$interval</span><span style="color: #339933;">,</span> <span style="color: #000088;">$time1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$times</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$diffs</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$interval</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$count</span> <span style="color: #339933;">&gt;=</span> <span style="color: #000088;">$precision</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span> <span style="color: #339933;">!=</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$interval</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;s&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$times</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$value</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot; &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$interval</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$count</span><span style="color: #339933;">++;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <a href="http://www.php.net/implode"><span style="color: #990000;">implode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;, &quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$times</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #000088;">$doc</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DOMDocument<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;"># load the RSS -- replace 'USERNAME' with your user of choice<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$doc</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://twitter.com/statuses/user_timeline/USERNAME.rss'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;ul&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># number of &lt;li&gt; elements to display. &nbsp;20 is the maximum<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$max_tweets</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$doc</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'item'</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$node</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #666666; font-style: italic;"># fetch the title from the RSS feed.<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tweet</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$node</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">nodeValue</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#Fetch the link from the feed<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$link</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$node</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getElementsByTagName</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">nodeValue</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># This gets the date and separates it into sections<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$pubDate</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$node</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pubDate'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">nodeValue</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$month</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pubDate</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">7</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$date</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pubDate</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$year</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pubDate</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">11</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$day</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pubDate</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$title</span><span style="color: #339933;">=</span><span style="color: #000088;">$day</span><span style="color: #339933;">.</span><span style="color: #000088;">$date</span><span style="color: #339933;">.</span><span style="color: #000088;">$month</span><span style="color: #339933;">.</span><span style="color: #000088;">$year</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#pre-defined lazy tags<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$ddmmyy</span><span style="color: #339933;">=</span><span style="color: #000088;">$date</span><span style="color: #339933;">.</span><span style="color: #000088;">$month</span><span style="color: #339933;">.</span><span style="color: #000088;">$year</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$mmyy</span><span style="color: #339933;">=</span><span style="color: #000088;">$month</span><span style="color: #339933;">.</span><span style="color: #000088;">$year</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$mmddyy</span><span style="color: #339933;">=</span><span style="color: #000088;">$month</span><span style="color: #339933;">.</span><span style="color: #000088;">$date</span><span style="color: #339933;">.</span><span style="color: #000088;">$year</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$ddmm</span><span style="color: #339933;">=</span><span style="color: #000088;">$date</span><span style="color: #339933;">.</span><span style="color: #000088;">$month</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$today</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/time"><span style="color: #990000;">time</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$timeDiff</span> <span style="color: #339933;">=</span> dateDiff<span style="color: #009900;">&#40;</span><span style="color: #000088;">$today</span><span style="color: #339933;">,</span><span style="color: #000088;">$pubDate</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<br />
<span style="color: #666666; font-style: italic;"># the title of each tweet starts with &quot;username: &quot; which I want to remove<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tweet</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tweet</span><span style="color: #339933;">,</span> <a href="http://www.php.net/stripos"><span style="color: #990000;">stripos</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tweet</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">':'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># OPTIONAL: turn URLs into links<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tweet</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\./-]*(\?\S+)?)?)?)@'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'&lt;a target=&quot;blank&quot; title=&quot;$1&quot; href=&quot;$1&quot;&gt;$1&lt;/a&gt;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tweet</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#OPTIONAL: turn hashtags into links<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tweet</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/#([0-9a-zA-Z_-]+)/'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">&quot;&lt;a target='blank' title='<span style="color: #006699; font-weight: bold;">$1</span>' href=<span style="color: #000099; font-weight: bold;">\&quot;</span>http://twitter.com/search?q=%23<span style="color: #006699; font-weight: bold;">$1</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;#<span style="color: #006699; font-weight: bold;">$1</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tweet</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#OPTIONAL: turn @replies into links<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$tweet</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/@([0-9a-zA-Z_-]+)/&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">&quot;&lt;a target='blank' title='<span style="color: #006699; font-weight: bold;">$1</span>' href=<span style="color: #000099; font-weight: bold;">\&quot;</span>http://twitter.com/<span style="color: #006699; font-weight: bold;">$1</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;@<span style="color: #006699; font-weight: bold;">$1</span>&lt;/a&gt;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tweet</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">#The following line can changed to suit your needs.<br />
</span><br />
<span style="color: #666666; font-style: italic;">#echo &quot;&lt;li class='tweet'&gt;&quot;.&quot;&lt;strong&gt;&quot;.&quot;&lt;a href='$link' target='blank' title='$title'&gt;&quot;. $ddmm .&quot;&lt;/a&gt;&quot; .&quot;&lt;/strong&gt;&quot; &nbsp;.$tweet &nbsp;.&quot;&lt;/li&gt;\n&quot;;<br />
</span><br />
<span style="color: #666666; font-style: italic;"># echo &quot;&lt;li class='tweet'&gt;&quot;.&quot;&lt;em&gt;&quot; . &quot;&lt;a href='$link' target='blank' title='$title'&gt;&quot; . $ddmmyy.&quot;&lt;/a&gt;&quot; . &quot;&lt;/em&gt;&quot; . $tweet . &quot;&lt;/li&gt;\n&quot;;<br />
</span><br />
<span style="color: #666666; font-style: italic;">#echo &quot;&lt;li class='tweet'&gt;&quot;. $tweet . &quot;&lt;strong&gt;&quot;. &quot;&lt;a href='$link' target='blank' title='$title'&gt;&quot; . $ddmmyy.&quot;&lt;/a&gt;&quot; . &quot;&lt;/strong&gt;&quot; . &quot;&lt;/li&gt;\n&quot;;<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #666666; font-style: italic;">#echo &quot;&lt;li class='tweet'&gt;&quot; . &quot;&lt;strong&gt;&quot; . $ddmm . &quot;&lt;/strong&gt;&quot; . $tweet . &quot;&lt;/li&gt;\n&quot;;<br />
</span><br />
<span style="color: #666666; font-style: italic;">#echo &quot;&lt;li class='smallTweet'&gt;&quot; . $ddmm . &quot;&lt;/li&gt; \n&quot;;<br />
</span><br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;li class='tweet'&gt;&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tweet</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;li class='smallTweet'&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'about'</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;nbsp;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$timeDiff</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;nbsp;'</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'ago'</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/li&gt; <span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">++</span> <span style="color: #339933;">&gt;=</span> <span style="color: #000088;">$max_tweets</span><span style="color: #009900;">&#41;</span> <br />
<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;/ul&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>As you can see line <strong>109</strong> displays the time since data.  Just change the CSS classes to suit your needs.</p>
<p><a href="/scripts/W.O.W_TweetShow_1.2.zip" target="blank" title="Download W.O.W TweetShow 1.2"> <img src="http://www.worldoweb.co.uk/wp-content/thumbnails/download.png" alt="Download" /></a></p>
<h2>Related Posts</h2>
<ul>
<li><a href="http://www.worldoweb.co.uk/2009/display-your-twitter-posts-on-your-site" title="Display Twitter Posts On Your Site">Display Twitter Posts On Your Site</a>
</li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=vTNg-l7_nJo:sDBlOWKBRzQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=vTNg-l7_nJo:sDBlOWKBRzQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=vTNg-l7_nJo:sDBlOWKBRzQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=vTNg-l7_nJo:sDBlOWKBRzQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=vTNg-l7_nJo:sDBlOWKBRzQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=vTNg-l7_nJo:sDBlOWKBRzQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=vTNg-l7_nJo:sDBlOWKBRzQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=vTNg-l7_nJo:sDBlOWKBRzQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=vTNg-l7_nJo:sDBlOWKBRzQ:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/vTNg-l7_nJo" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/tweets.png" alt="W.O.W TweetShow" height="85" width="85" /&gt;&lt;/div&gt;&lt;p class="title"&gt;Back in 2009 I wrote a post on how to display twitter posts on your site.  I went back to it recently and decided to tweak it further.  As you see it is now updated to include 'time since' post.  Check my sidebar for an example. I would like to thank JR over at &lt;a href="http://www.if-not-true-then-false.com/2010/01/php-calculate-real-differences-between-two-dates-or-timestamps/" title="If Not True Then False" target="blank"&gt;IF Not True Then False&lt;/a&gt; for the handy PHP function.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/twitter-script-updated-and-given-a-new-name/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/twitter-script-updated-and-given-a-new-name</feedburner:origLink></item><item><title>Comodo Internet Security Installation Error 1603</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/smiPwMlLde8/comodo-internet-security-installation-error-1603</link><category>Windows</category><category>Antivirus</category><category>Firewall</category><category>Hack</category><category>Malware</category><category>Security</category><category>Software</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Mon, 08 Mar 2010 14:31:14 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=2012</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I have been using Comodo Internet Security since it&#8217;s initial release and it just keeps getting better and better.  However whilst trying to install the most recent version 4.0 which was released on March 03 2010 I encountered an installation error 1603.  Naturally I cleared all the junk files, disabled unnecessary services, cleared the registry and still couldn&#8217;t get it to work until I came across a <a href="https://forums.comodo.com/empty-t36499.0.html" title="Comodo Clean Up Tool" target="blank">clean up tool</a> for cleaning up leftover data from previous installations. </p>
<h3 class="border"> Prerequisites </h3>
<p>Version 4 is a major update so you will need to uninstall any previous versions that exist on your computer.  I am assuming that you have already attempted installing the software and have it situated in a folder on your system.</p>
<h3 class="border">Step 1- Download and Extract Software- Updated 6th September!</h3>
<p>There are 2 versions of the Comodo Clean up tool.  I suggest that you try the <a href="http://www.worldoweb.co.uk/scripts/CIS_Clean-up Tool.zip" title="CIS Clean-up Tool" target="blank">original version</a> first and if that fails use <a href="http://www.worldoweb.co.uk/scripts/CIS_Clean-up Tool2.zip" title="CIS Clean-up Tool2" target="blank">version 2 </a>.  Both versions are spyware and virus free.<br />
Extract the file using <a href="http://www.7-zip.org/" target="blank" title="7Zip">7zip</a> or similar.  You should now have a folder called CIS Clean-up Tool.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/comodo/ciscleantool.jpg" title="After extraction you should have a folder containing the clean up tool." class="thickbox" rel="singlepic249" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/249__320x240_ciscleantool.jpg" alt="CIS Clean Tool Folder" title="CIS Clean Tool Folder" />
</a>

<h3 class="border">Step 2-Run File and re-install CIS4</h3>
<p>Navigate to <strong>CIS Clean-up Tool folder</strong> and run the <strong>CIS File+Registry Cleaner.bat file.</strong> <strong>Vista and 7 users</strong> need to right click and select run as administrator.  Follow the on-screen prompts.  This file will clean all associated registry entries, files and folders that have been left over from previous installations.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/comodo/dostool.jpg" title="This is the MS-Dos Batch file that will clean all the redundant files, folders and reg keys from your computer to enable the new installation." class="thickbox" rel="singlepic250" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/250__320x240_dostool.jpg" alt="CIS Clean Tool" title="CIS Clean Tool" />
</a>

<p>To re-install CIS4 navigate to the download folder:</p>
<p><strong>Windows XP</strong> C:/Documents and Settings/All Users/Application Data/Comodo Downloader and run <strong>CIS_Setup.msi</strong><br />
<small>I am not currently running Vista or 7 so I am unsure where the default download folder is situated.</small></p>
<p>Your installation should now run smoothly.  I would like to thank Ragwing for creating this script. If you have any questions then please contact me.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=smiPwMlLde8:BXdo9udRwP0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=smiPwMlLde8:BXdo9udRwP0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=smiPwMlLde8:BXdo9udRwP0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=smiPwMlLde8:BXdo9udRwP0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=smiPwMlLde8:BXdo9udRwP0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=smiPwMlLde8:BXdo9udRwP0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=smiPwMlLde8:BXdo9udRwP0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=smiPwMlLde8:BXdo9udRwP0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=smiPwMlLde8:BXdo9udRwP0:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/smiPwMlLde8" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/Locker.jpg" height="85" width="85" alt="Security" /&gt;&lt;/div&gt;&lt;p class="title"&gt;
I have been using Comodo Internet Security since it's initial release and it just keeps getting better and better.  However whilst trying to install the most recent version 4.0 which was released on March 03 2010 I encountered an installation error 1603.  Naturally I cleared all the junk files, disabled unnecessary services, cleared the registry and still couldn't get it to work 
&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/comodo-internet-security-installation-error-1603/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">39</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/comodo-internet-security-installation-error-1603</feedburner:origLink></item><item><title>Access Your Email Through an Email Client</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/RYtny-SDkUM/access-your-email-through-an-email-client</link><category>Toolbox</category><category>Client</category><category>Email</category><category>IMAP</category><category>POP</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Thu, 18 Feb 2010 05:57:22 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1923</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Have you got more than one email account?  Maybe you are fed up of having to access your email through a web interface or you just simply want to access all of your emails through a desktop application.  First and foremost you need an <strong>email client</strong>.  I highly recommend <a title="Mozilla Thunderbird" href="http://en-gb.www.mozillamessaging.com/en-GB/thunderbird/" target="_blank">Thunderbird</a> which is a popular open source application that is available on Windows, Linux and Mac.  There is also <a title="Windows Mail" href="http://download.live.com/wlmail" target="_blank">Windows Mail</a> which is part of the windows live series. Outlook Express comes pre-installed on XP.  Microsoft Outlook comes with the commercial Microsoft Office suite.  <a title="Kmail" href="http://userbase.kde.org/Kmail" target="_blank">Kmail</a> and <a title="Evolution" href="http://projects.gnome.org/evolution/" target="_blank">Evolution</a> are very popular on Linux.</p>
<p>Here are a list of the settings to access your Google, Windows Live (Hotmail) and Yahoo email accounts through your preferred application.</p>
<p>Thunderbird now attempts to automatically configure the email server settings for you but you might still need to tweak the settings!<br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/emailserver/emailsettings.png" title="A table to show email server settings for use with an email client like Thunderbird." class="thickbox" rel="singlepic233" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/233__590x300_emailsettings.png" alt="Email Server Settings" title="Email Server Settings" />
</a>
</p>
<p>Also available as a PDF for download.</p>
<p><a title="Download Email Settings" href="http://www.worldoweb.co.uk/scripts/EmailSettings.pdf" target="blank"><img src="http://www.worldoweb.co.uk/wp-content/thumbnails/download.png" alt="Download" /></a></p>
<p>Know any more settings for other less known email accounts?  Please share and I will add them to the list and publish it on a regular basis.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=RYtny-SDkUM:rEZWrxPNx78:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=RYtny-SDkUM:rEZWrxPNx78:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=RYtny-SDkUM:rEZWrxPNx78:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=RYtny-SDkUM:rEZWrxPNx78:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=RYtny-SDkUM:rEZWrxPNx78:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=RYtny-SDkUM:rEZWrxPNx78:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=RYtny-SDkUM:rEZWrxPNx78:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=RYtny-SDkUM:rEZWrxPNx78:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=RYtny-SDkUM:rEZWrxPNx78:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/RYtny-SDkUM" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/email.png" height="85" width="85" alt="Winter" /&gt;&lt;/div&gt;&lt;p class="title"&gt;Have you got more than one email account? Maybe you are fed up of having to access your email through a web interface or you just simply want to access all of your emails through a desktop application.  Here are the settings that will enable you to do so!&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/access-your-email-through-an-email-client/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/access-your-email-through-an-email-client</feedburner:origLink></item><item><title>Synchronise Your Computers and Your Life!</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/QVk95ojs9cA/synchronise-your-computers-and-your-life</link><category>Toolbox</category><category>Backup</category><category>Browsers</category><category>Chat</category><category>Extensions</category><category>Firefox</category><category>Linux</category><category>OS</category><category>Software</category><category>Windows</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Thu, 21 Jan 2010 04:04:26 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1835</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Do you ever find running multiple computers, Operating systems and browsers tedious?  Especially now that most people have access to 2 computers or more.  Maybe you are using one main computer and need access to certain files from another or you are using portable software or even your mobile phone.  Here are a few tips on how to keep organised with a combination of software and web apps. </p>
<h3 class="border">Bookmarking</h3>
<p>This is a great start as you need to access your bookmarked web sites from anywhere including the web. Some great bookmarking sites include <a title="Delicious" href="http://delicious.com/" target="_blank">Delicious</a>, <a title="Diigo" href="http://www.diigo.com/" target="_blank">Diigo</a> and <a title="BlinkList" href="http://www.blinklist.com/" target="_blank">BlinkList</a>. Access is available via the web and there is an assortment of browser extensions and bookmarklets.</p>
<p><img src='http://www.worldoweb.co.uk/wp-content/gallery/sync/test.png' alt='Bookmarking' class='ngg-singlepic ngg-center' height='80' width='550' /></p>
<h3 class="border">Files &amp; Folders</h3>
<p>Want to access documents and files and have them synchronised across different computers. <a title="DropBox" href="https://www.dropbox.com/" target="_blank">Dropbox</a> is one of the most popular. It offers 2GB of free space to store anything you want. It automatically syncs to your computers and your data is still available when off-line. Supports Windows, Mac, Linux (Ubuntu &amp; Fedora) and iPhone. DropBox alternatives are <a title="ZumoDrive" href="https://www.zumodrive.com/" target="_blank">ZumoDrive</a> and <a title="SpiderOak" href="https://spideroak.com/" target="_blank">SpiderOak.</a></p>
<p><img src='http://www.worldoweb.co.uk/wp-content/gallery/sync/test1.png' alt='Storage' class='ngg-singlepic ngg-center' width='550' height='80' /></p>
<h3 class="border">Passwords</h3>
<p>Now if you frequently browser hop there is nothing worse than forgetting a password and then having to open up your main browser to hunt for it. <a title="LastPass" href="https://lastpass.com/" target="_blank">LastPass</a> is an online password manager that will encrypt and store your passwords on the web and sync them across your multiple browsers on any platform and there is no need worry as you can use it in off-line mode too. <a title="Passpack" href="http://www.passpack.com/en/home/" target="_blank">Passpack</a> is also worth looking at.</p>
<p><img src='http://www.worldoweb.co.uk/wp-content/gallery/sync/test2.png' alt='Online Password Managers' class='ngg-singlepic ngg-center' width='550' height='80' /></p>
<h3 class="border">Tasks &amp; Calendars</h3>
<p>Still lugging that huge diary around with you? <a title="Google Calendar" href="http://www.google.com/calendar/" target="_blank">Google Calendar</a> is a web calendar that you can sync to all of your devices. Accessible via the browser or can easily integrate with your email or calendar software. Task managers like <a title="Doit.im" href="http://www.doit.im/" target="_blank"> Doit.im</a> and <a title="Remember The Milk" href="http://www.rememberthemilk.com/" target="_blank">Remember The Milk</a> can also integrate with your Google Calendar so you don&#8217;t have any excuses for forgetting your appointments!</p>
<p><img src='http://www.worldoweb.co.uk/wp-content/gallery/sync/test3.png' alt='Calendars' class='ngg-singlepic ngg-center' width='550' height='80' /></p>
<h3 class="border">Productivity</h3>
<p>Don&#8217;t have access to an office suite? Want to store your documents online? <a title="Google Docs" href="http://docs.google.com/" target="_blank">Google Docs</a> and <a title="Zoho" href="http://www.zoho.com/" target="_blank">Zoho</a> will be your friend. Simply knock up a document, spreadsheet, presentation or form quickly and store it online.  You can also sync your documents from both Zoho and Google docs to open office with this <a href="http://extensions.services.openoffice.org/project/ooo2gd" target="blank" title="OOo2GD">extension</a>.  Zoho also has a <a href="http://www.zoho.com/zohoplugin/home.html" target="blank" title="Zoho MS Office plugin">plugin</a> for Microsoft Office and there is also a Google Docs plugin for MS Office with <a href="http://offisync.com/index.html" target="blank" title="OffiSync">Offisync</a>.</p>
<p><img src='http://www.worldoweb.co.uk/wp-content/gallery/sync/test4.png' alt='Productivity' class='ngg-singlepic ngg-center' width='550' height='80' /></p>
<h3 class="border">Firefox Profiles</h3>
<p><a title="Mozilla Weave" href="https://mozillalabs.com/weave/" target="_blank">Mozilla Weave</a> is work in progress software to backup and synchronise your firefox profile to Windows, Mac, Linux and Mobile. Currently it backs up passwords, bookmarks, history, tabs, preferences, add-ons and personas.  It certainly looks very promising for the future.</p>
<p><img src='http://www.worldoweb.co.uk/wp-content/gallery/sync/weave-header.png' alt='Mozilla Weave' class='ngg-singlepic ngg-center' width='550' height='200' /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=QVk95ojs9cA:ZLcm9XcuxlA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=QVk95ojs9cA:ZLcm9XcuxlA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=QVk95ojs9cA:ZLcm9XcuxlA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=QVk95ojs9cA:ZLcm9XcuxlA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=QVk95ojs9cA:ZLcm9XcuxlA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=QVk95ojs9cA:ZLcm9XcuxlA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=QVk95ojs9cA:ZLcm9XcuxlA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=QVk95ojs9cA:ZLcm9XcuxlA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=QVk95ojs9cA:ZLcm9XcuxlA:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/QVk95ojs9cA" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/sync.jpg" height="85" width="85" alt="Winter" /&gt;&lt;/div&gt;&lt;p class="title"&gt;Do you ever find running multiple computers, Operating systems and browsers tedious?  Especially now that most people have access to 2 computers or more.  Maybe you are using one main computer and need access to certain files from another or you are using portable software or even your mobile phone.  Here are a few tips on how to keep organised with a combination of software and web apps. &lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/synchronise-your-computers-and-your-life/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/synchronise-your-computers-and-your-life</feedburner:origLink></item><item><title>Winter Wonderland Collection</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/v0t6slchuIA/winter-wonderland-collection</link><category>Toolbox</category><category>Brushes</category><category>Icons</category><category>images</category><category>Stock</category><category>Vector</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Mon, 11 Jan 2010 14:35:03 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1768</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>First of all I would like to wish everybody a Happy New Year.  Now that the festive period is over  and winter has set in I thought that I would round up a nice little collection of seasonal graphics that would look nice in any design.  I have hand-picked a selection of icons, photos, vectors, fonts and Photoshop brushes from around the web.  All the graphics are free for personal use, some are free for commercial use.  I hope you enjoy them.</p>
<h3 class="border">Icons</h3>
<p><a title="Weather Icons" href="http://www.iconarchive.com/category/nature/weather-icons-by-icons-land.html" target="blank">Weather Icons</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/weathericons.jpg" title="Set of weather icons from Icons Archive" class="thickbox" rel="singlepic176" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/176__400x300_weathericons.jpg" alt="Weather Icons" title="Weather Icons" />
</a>
</p>
<p><a title="Winter Holiday Icons" href="http://www.icondrawer.com/free.php" target="blank">Winter Holiday Icons</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/wintericons.jpg" title="A set of winter icons from Icon Drawer" class="thickbox" rel="singlepic177" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/177__400x300_wintericons.jpg" alt="Winter Icons" title="Winter Icons" />
</a>
</p>
<p><a href="http://www.dapino-colada.nl/download-winter-blue-graphics" title="Winter Blue Graphics" target="blank">Winter Blue Graphics</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/winter-blue-graphics_0.png" title="Winter Blue Graphics Icons" class="thickbox" rel="singlepic217" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/217__320x240_winter-blue-graphics_0.png" alt="Winter Blue Graphics" title="Winter Blue Graphics" />
</a>
</p>
<h3 class="border">Illustrations and Photographs</h3>
<p><a title="Mirror Lake" href="http://www.multimedia-stock.com/2045" target="Blank">Mirror Lake</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/ms_00002045_big_thumb.jpg" title="Jankovic Lake in Croatia taken by haze" class="thickbox" rel="singlepic179" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/179__400x300_ms_00002045_big_thumb.jpg" alt="Mirror Lake" title="Mirror Lake" />
</a>
</p>
<p><a title="Plitvice taken in winter" href="http://www.multimedia-stock.com/2158" target="blank">Plitvice taken in winter</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/ms_00002158_big_thumb.jpg" title="Plitvice lake in winter taken by Kacha" class="thickbox" rel="singlepic180" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/180__400x300_ms_00002158_big_thumb.jpg" alt="Plitvice Lake" title="Plitvice Lake" />
</a>
</p>
<p><a title="On the mountain" href="http://www.multimedia-stock.com/2158" target="blank">On the mountain, Kleinarl, Austria</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/austria.jpg" title="On the mountain in Kleinarl, Austria by lusi" class="thickbox" rel="singlepic181" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/181__400x300_austria.jpg" alt="Kleinarl, Austria" title="Kleinarl, Austria" />
</a>
</p>
<p><a title="Church in winter forest" target="http://www.multimedia-stock.com/8431">Church in winter forest</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/church.jpg" title="Church in winter forest. " class="thickbox" rel="singlepic182" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/182__320x240_church.jpg" alt="Church in winter" title="Church in winter" />
</a>
</p>
<p><a title="Snow and Spruce" href="http://www.sxc.hu/photo/1252029" target="blank">Snow and Spruce</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/snow_and_spruce.jpg" title="Snow and spruce by wetape" class="thickbox" rel="singlepic184" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/184__320x240_snow_and_spruce.jpg" alt="Snow and spruce" title="Snow and spruce" />
</a>
</p>
<p><a title="Dutch Windmill" href="http://www.sxc.hu/photo/1251895" target="blank">Dutch windmill winter panoramic shot</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/windmill.jpg" title="Dutch windmill in winter panorama shot" class="thickbox" rel="singlepic185" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/185__320x240_windmill.jpg" alt="Dutch Windmill" title="Dutch Windmill" />
</a>
</p>
<p><a title="Winter Wonderland" href="http://www.sxc.hu/photo/925466" target="blank">Winter Wonderland</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/winter_wonderland.jpg" title="Winter Wonderland by bvisser" class="thickbox" rel="singlepic186" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/186__320x240_winter_wonderland.jpg" alt="Winter Wonderland" title="Winter Wonderland" />
</a>
</p>
<p><a title="Winter in Lapland" href="http://www.sxc.hu/photo/136040" target="blank">Winter in Lapland</a><br />

<a href="http://www.worldoweb.co.uk/wp-content/gallery/winter/lapland.jpg" title="Winter in Lapland" class="thickbox" rel="singlepic183" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/183__320x240_lapland.jpg" alt="Winter in Lapland" title="Winter in Lapland" />
</a>
</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=v0t6slchuIA:XJQqVRPP-Ek:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=v0t6slchuIA:XJQqVRPP-Ek:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=v0t6slchuIA:XJQqVRPP-Ek:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=v0t6slchuIA:XJQqVRPP-Ek:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=v0t6slchuIA:XJQqVRPP-Ek:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=v0t6slchuIA:XJQqVRPP-Ek:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=v0t6slchuIA:XJQqVRPP-Ek:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=v0t6slchuIA:XJQqVRPP-Ek:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=v0t6slchuIA:XJQqVRPP-Ek:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/v0t6slchuIA" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/winter.jpg" height="85" width="85" alt="Winter" /&gt;&lt;/div&gt;&lt;p class="title"&gt;First of all I would like to wish everybody a Happy New Year.  Now that the festive period is over  and winter has set in I thought that I would round up a nice little collection of seasonal graphics that would look nice in any design.  I have hand-picked a selection of icons, photos, vectors, fonts and Photoshop brushes from around the web.  All the graphics are free for personal use, some are free for commercial use.  I hope you enjoy them.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2010/winter-wonderland-collection/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2010/winter-wonderland-collection</feedburner:origLink></item><item><title>Thunderbird 3 Upgrade- Not Such a Smooth Ride!</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/VeeCZN3fT-o/thunderbird-3-upgrade-not-such-a-smooth-ride</link><category>Software</category><category>Email</category><category>Linux</category><category>Thunderbird</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Tue, 15 Dec 2009 14:02:25 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1699</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I have been using Thunderbird for the last 2 years and my configuration has always worked well even through the transition of switching from Windows to Linux.  I have never had any trouble when updating versions of Firefox so I thought that I wouldn&#8217;t have many problems with Thunderbird either.  Was it as plain sailing as what I originally thought?</p>
<h3 class="border">The 1st Upgrade</h3>
<p>My choice of upgrade method was to use the <a href="http://sourceforge.net/apps/mediawiki/ubuntuzilla/index.php?title=Main_Page" title="Ubuntuzilla" target="blank">Ubuntuzilla</a> script which is what I use for Firefox.  Ubuntuzilla backs up your profile folder before making any changes which is an excellent idea when upgrading to a new version.  Once I upgraded I loaded up Thunderbird which started fine but I could not see any emails although it said that I was getting them.  I tried creating the accounts again but that would not work, then the options page was stuck and I could not get lightning to integrate well. I decided to roll back to the previous version and start again.</p>
<h3 class="border">Roll Back to V2</h3>
<p>I went back to v2, via the same Ubuntuzilla script, I deleted the contents of .thunderbird folder in my home folder and replaced it with the backup files from my Thunderbird backup which the Ubuntuzilla script created.  I ran the program and copied all of my emails  to my local folders to prevent losing them especially as I haven&#8217;t got them saved on the server.  I saved my contacts to a <strong>.LDIF</strong> file and my calendar to a <strong>.ICS</strong> file so I could easily import them after upgrade.  When I had finished exporting I changed the <strong>.thunderbird</strong> to <strong>ThunderbirdBackup</strong> (or similar) and ran the Ubuntuzilla script again.</p>
<h3 class="border">2nd Upgrade</h3>
<p>I opened the new Thunderbird up and then shut it down again as this creates the new profile.  Navigating to my backup I copied the local folders folder from <strong>ThunderbirdBackup/user.default/mail</strong> across to the new <strong>.thunderbird/user.default/Mail</strong>.  Setting up new accounts is a breeze now as Thunderbird automatically searches for the email settings. 
<a href="http://www.worldoweb.co.uk/wp-content/gallery/eclipse/accountsetup.jpg" title="Improvement:  Simple setup of thunderbird email accounts." class="thickbox" rel="singlepic174" >
	<img class="ngg-singlepic ngg-right" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/174__320x240_accountsetup.jpg" alt="Thunderbird Accounts" title="Thunderbird Accounts" />
</a>
 After 5 minutes I had configured all of my emails, 6 in total and they were all in working order.  I installed the latest version of <a href="http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-comm-1.9.1/linux-xpi/" target="blank" title="Mozilla lightning ">lightning</a>, which is the current testing version.  I imported my contacts and calendar and all is in good working order.</p>
<h3 class="border">Conclusion</h3>
<p>I have known people that have gone through the installation without any problems but I would definitely recommend you make a backup of your profile before any major upgrade.  I would also back up contacts and calendars if used too.  However it was definitely worth the hassle as the new version has some excellent features.</p>
<h2>Related Posts</h2>
<ul>
<li><a title="Backup your Firefox Profile Manually" href="http://www.worldoweb.co.uk/2009/backup-your-firefox-profile-manually">Backup your Firefox Profile Manually</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=VeeCZN3fT-o:mClnHk1AvXM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=VeeCZN3fT-o:mClnHk1AvXM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=VeeCZN3fT-o:mClnHk1AvXM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=VeeCZN3fT-o:mClnHk1AvXM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=VeeCZN3fT-o:mClnHk1AvXM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=VeeCZN3fT-o:mClnHk1AvXM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=VeeCZN3fT-o:mClnHk1AvXM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=VeeCZN3fT-o:mClnHk1AvXM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=VeeCZN3fT-o:mClnHk1AvXM:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/VeeCZN3fT-o" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/thunderbird.jpg" height="85" width="85" alt="Linux Mint" /&gt;&lt;/div&gt;&lt;p class="title"&gt;I have been using Thunderbird for the last 2 years and my configuration has always worked well even through the transition of switching from Windows to Linux.  I have never had any trouble when updating versions of Firefox so I thought that I wouldn't have many problems with Thunderbird either.  Was it as plain sailing as what I originally thought?&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/thunderbird-3-upgrade-not-such-a-smooth-ride/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/thunderbird-3-upgrade-not-such-a-smooth-ride</feedburner:origLink></item><item><title>Mouse Buttons Not Working With Eclipse or Aptana!</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/Qbh4_ltcrXc/mouse-buttons-not-working-with-eclipse-or-aptana</link><category>Linux</category><category>Bash</category><category>Eclipse</category><category>Hack</category><category>Scripts</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Fri, 11 Dec 2009 09:05:11 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1702</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I recently updated to latest version of Linux Mint 8 and after installing Aptana, my favourite IDE, I noticed that my mouse buttons would not work when trying to click buttons.  I tried re-installing the software and trying eclipse but it still didn&#8217;t work.  I turned to my trusted friend Google for the problem and I came across this post <a href="http://www.norio.be/blog/2009/10/problems-eclipse-buttons-ubuntu-910" title="Problems with Eclipse buttons in Ubuntu 9.10" target="blank">Problems with Eclipse buttons in Ubuntu 9.10</a> ,which is a shell script to solve a gtk bug.  I have eclipse installed in my home folder under .eclipse.  Here is a little tutorial on how you write that script.</p>
<p>Open gedit or similar text editor and type:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/sh</span><br />
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GDK_NATIVE_WINDOWS</span>=<span style="color: #000000;">1</span><br />
<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>YOURNAME<span style="color: #000000; font-weight: bold;">/</span>.eclipse<span style="color: #000000; font-weight: bold;">/</span>eclipse</div></td></tr></tbody></table></div>
<p><small>Note:  Change <strong>YOURNAME</strong> to your usename!</small></p>
<p>Save the file in my .eclipse folder as eclipse.sh</p>
<p>Now navigate into the .eclipse folder, you might need to check show hidden files in the view menu.  Right click on eclipse.sh and click on properties.  Click on permissions.  Click on allow file executing as a program.</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/eclipse/properties.jpg" title="Properties folder of the newly created eclipse.sh" class="thickbox" rel="singlepic173" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/173__320x240_properties.jpg" alt="Properties" title="Properties" />
</a>

<p>Update your menu to point to the newly created file eclipse.sh in your .eclipse directory.  Eclipse should now load without the mouse problem.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=Qbh4_ltcrXc:qQ2k33cniS0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=Qbh4_ltcrXc:qQ2k33cniS0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=Qbh4_ltcrXc:qQ2k33cniS0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=Qbh4_ltcrXc:qQ2k33cniS0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=Qbh4_ltcrXc:qQ2k33cniS0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=Qbh4_ltcrXc:qQ2k33cniS0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=Qbh4_ltcrXc:qQ2k33cniS0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=Qbh4_ltcrXc:qQ2k33cniS0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=Qbh4_ltcrXc:qQ2k33cniS0:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/Qbh4_ltcrXc" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/eclipse2.png" height="85" width="85" alt="Eclipse" /&gt;&lt;/div&gt;&lt;p class="title"&gt;I recently updated to latest version of Linux Mint 8 and after installing Aptana, my favourite IDE, I noticed that my mouse buttons would not work when trying to click buttons.  I tried re-installing the software and trying eclipse but it still didn't work.  I turned to my trusted friend Google for the problem and I came across this post &lt;a href="http://www.norio.be/blog/2009/10/problems-eclipse-buttons-ubuntu-910" title="Problems with Eclipse buttons in Ubuntu 9.10" target="blank"&gt;Problems with Eclipse buttons in Ubuntu 9.10&lt;/a&gt; ,which is a shell script to solve a gtk bug.  As I have eclipse installed in .eclipse directory in my home folder I had to alter it a little.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/mouse-buttons-not-working-with-eclipse-or-aptana/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/mouse-buttons-not-working-with-eclipse-or-aptana</feedburner:origLink></item><item><title>Linux Hail Helena!</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/r60RJ_UX5qg/linux-hail-helena</link><category>Reviews</category><category>Linux</category><category>OS</category><category>Software</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Tue, 24 Nov 2009 03:48:56 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1659</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Having made the switch to Linux 1 year ago, first using Mandriva Linux and then switching to Linux Mint 7 (Gloria) after hearing some good reviews.  I loved Mandriva but instantly fell in love with Mint.  <a class="thickbox" title="Linux Mint Helena RC1 desktop. " href="http://www.worldoweb.co.uk/wp-content/gallery/helena/desktop.jpg"><img class="ngg-singlepic ngg-right" src="http://www.worldoweb.co.uk/wp-content/gallery/helena/desktop.jpg" height="240" width="320" alt="Mint 8 RC1 Desktop" /></a> I was never tempted to go distro hopping again.  However having heard both good and bad things about Ubuntu Karmic Koala I bit the bullet and decided to update to the release candidate version of Linux Mint (Helena), which, if you don&#8217;t already know is based on Ubuntu&#8217;s Karmic Koala. I would have to say that I was immediately impressed with the balance of good looks and features at my disposal.</p>
<h3 class="border">Installation</h3>
<p>Running from the Live USB it correctly told me that my hard drive was failing, which is no surprise to me as have been having errors for the last few months.  <a class="thickbox" title="A Linux disk utility that shows you how healthy your drives are." href="http://www.worldoweb.co.uk/wp-content/gallery/helena/diskutility.jpg"><img class="ngg-singlepic ngg-left" src="http://www.worldoweb.co.uk/wp-content/gallery/helena/diskutility.jpg" height="240" width="320" alt="Disk Utility" /></a> The installation was simple to do and took a total of fifteen minutes, which is impressive for my 3 year old Laptop.  On first boot, which took 64 seconds in total from switching it on to the loading of the desktop, in comparison to the evaluation version of Windows Seven which took 75 seconds.  I was greeted with an elegant boot splash and the much improved log in screen.  Connecting to a wireless network was a breeze as occasionally I had connecting issues when coming out of hibernation in Gloria.  Fonts seem much sharper.  All round graphics, memory and processing power and is more edgy and noticeably faster.</p>
<h3 class="border">Conclusion</h3>
<p>This may only be a release candidate but overall I am extremely impressed. <a class="thickbox" title="Mint Install is an installation manager for Linux Mint." href="http://www.worldoweb.co.uk/wp-content/gallery/helena/mintinstall.jpg"><img class="ngg-singlepic ngg-right" src="http://www.worldoweb.co.uk/wp-content/gallery/helena/mintinstall.jpg" alt="Mint Install" width="320" height="240" /></a>  Stability, speed and user-friendly it definitely is.  I have only had a few minor problems.   Mint install crashed when selecting multiple items to install and crackling is coming from the speakers occasionally.  I would expect these small problems to be ironed out in the final release.  All in all this is a great version and I am proud to be a user of Linux Mint.  Hail Helena!</p>
<h3 class="border">Update</h3>
<p>I have solved the problem with he crackling by watching this <a href="http://www.product-reviews.net/2009/11/09/ubuntu-910-karmic-koala-popping-audio-fix" title="Ubuntu 9.10: Popping Audio Fix" target="blank">video.</a>  The alternative way of doing it would be to enter the following in a terminal.</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>modprobe.d<span style="color: #000000; font-weight: bold;">/</span>alsa-base.conf</div></td></tr></tbody></table></div>
<p><strong>Find the following line:</strong><br />
options snd-hda-intel power_save=10 power_save_controller=N<br />
<strong>Change it to:</strong><br />
#options snd-hda-intel power_save=10 power_save_controller=N</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=r60RJ_UX5qg:-yCMHIenjw0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=r60RJ_UX5qg:-yCMHIenjw0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=r60RJ_UX5qg:-yCMHIenjw0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=r60RJ_UX5qg:-yCMHIenjw0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=r60RJ_UX5qg:-yCMHIenjw0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=r60RJ_UX5qg:-yCMHIenjw0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=r60RJ_UX5qg:-yCMHIenjw0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=r60RJ_UX5qg:-yCMHIenjw0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=r60RJ_UX5qg:-yCMHIenjw0:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/r60RJ_UX5qg" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/Mint.jpg" height="85" width="85" alt="Linux Mint" /&gt;&lt;/div&gt;&lt;p class="title"&gt;Having made the switch to Linux 1 year ago, first using Mandriva Linux and then switching to Linux Mint 7 (Gloria) after hearing some good reviews. I loved Mandriva but instantly fell in love with Mint.  I was never tempted to go distro hopping again.  However having heard both good and bad things about Ubuntu Karmic Koala I bit the bullet and decided to update to the release candidate version of Linux Mint (Helena), which, if you don't already know is based on Karmic Koala.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/linux-hail-helena/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/linux-hail-helena</feedburner:origLink></item><item><title>Software catalogue for Windows and Linux.</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/dhaQUg1qcRU/software-catalogue-for-windows-and-linux</link><category>Reviews</category><category>Linux</category><category>Security</category><category>Software</category><category>Windows</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Sat, 07 Nov 2009 08:50:12 PST</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1549</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>
<a href="http://www.worldoweb.co.uk/wp-content/gallery/catalogue/allmyapps_ubuntu.jpg" title="An online software catalogue for Windows and Linux." class="thickbox" rel="singlepic169" >
	<img class="ngg-singlepic ngg-left" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/169__320x240_allmyapps_ubuntu.jpg" alt="AllmyApps" title="AllmyApps" />
</a>
The wonderful thing about Linux is its capability to get all of your software from one place.  Unfortunately you don&#8217;t have that option with Windows as you have to download and install things separately, which can be rather tedious.  The trouble with downloading stuff the Windows way is that you are openly subject to viruses and malware.   You can be misled into downloading software that promises you the world and then hijacks your computer,  once installed.  You can never be sure if your security is going to be compromised.</p>
<p>In comes <a href="http://www.allmyapps.com" title="allmyapps.com" target="blank">allmyapps</a>.  Basically, allmyapps is a online catalogue of software that can be installed on Windows XP through to 7 and also Ubuntu 8.04 upwards, including the latest karmic koala.  Simply sign up, install the required software: For <strong>Windows</strong> users you simply download and install a little program that manages your downloads and installations.  <strong>Ubuntu</strong> users simply install <a href="http://blog.appnr.com/help/" title="AptURL" target="blank">AptURL.</a> Once the program is installed choose from an ever growing catalogue of software in which you simply add to your list.  Click install and the download and installation process begins.</p>
<h3 class="border">What about Security?</h3>
<p>All programs are checked for any potential harmful malware or virus before they are put in the catalogue so there are no needs to worry about your security.</p>
<h3 class="border">Why Ubuntu?</h3>
<p>Some people would say why Ubuntu though?  Ubuntu does have its own system in place via the synaptic package manager.  Surely you only ever need that?  Maybe but at least the option is there and that Linux is being recognised.  Surely that&#8217;s thumbs up to the developers.</p>
<h3 class="border">Conclusion</h3>
<p>All Microsoft Windows operating systems have been needing something like this for a while.  The pros definitely outweigh the cons.  It is secure, you are less likely open to viruses and spyware from rogue applications.  There are loads of free and open source applications to choose from and an option to purchase commercial software.  In the future there is room for multiple profiles for multiple operating systems, version numbers on software and Linux RPM and Mac catalogues, but in the meantime Allmyapps gets my thumbs up!</p>
<p>Do you like the idea of this software catalogue or are you against it?  We would like to here your thoughts on it.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=dhaQUg1qcRU:cSEERIKcU6I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=dhaQUg1qcRU:cSEERIKcU6I:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=dhaQUg1qcRU:cSEERIKcU6I:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=dhaQUg1qcRU:cSEERIKcU6I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=dhaQUg1qcRU:cSEERIKcU6I:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=dhaQUg1qcRU:cSEERIKcU6I:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=dhaQUg1qcRU:cSEERIKcU6I:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=dhaQUg1qcRU:cSEERIKcU6I:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=dhaQUg1qcRU:cSEERIKcU6I:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/dhaQUg1qcRU" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/catalogue.png" height="85" width="85" alt="Software Catalogue" /&gt;&lt;/div&gt;&lt;p class="title"&gt;The wonderful thing about Linux is its capability to get all of your software from one place.  Unfortunately you don't have that option with Windows as you have to download and install things separately, which can be rather tedious.  The trouble with downloading stuff the Windows way is that you are openly subject to viruses and malware.   You can be misled into downloading software that promises you the world and then hijacks your computer,  once installed.  You can never be sure if your security is going to be compromised.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/software-catalogue-for-windows-and-linux/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/software-catalogue-for-windows-and-linux</feedburner:origLink></item><item><title>WordPress Theme Poll</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/jC5NqJKONKE/wordpress-theme-poll</link><category>Wordpress</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Wed, 14 Oct 2009 15:29:16 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1531</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>This is just a simple poll to find out what features you look for in a WordPress theme, just to get a simple understanding of what users require.  If you require an option that is not on the list then please leave a comment.</p>
<p>Multiple answers welcome.</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=jC5NqJKONKE:-1ph_rkmuug:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=jC5NqJKONKE:-1ph_rkmuug:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=jC5NqJKONKE:-1ph_rkmuug:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=jC5NqJKONKE:-1ph_rkmuug:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=jC5NqJKONKE:-1ph_rkmuug:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=jC5NqJKONKE:-1ph_rkmuug:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=jC5NqJKONKE:-1ph_rkmuug:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=jC5NqJKONKE:-1ph_rkmuug:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=jC5NqJKONKE:-1ph_rkmuug:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/jC5NqJKONKE" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/poll.jpg" alt="Wordpress Theme Poll" height="85" width="85"  /&gt;&lt;/div&gt;&lt;p class="title"&gt;This is just a simple poll to find out what features you look for in a Wordpress theme, just to get a simple understanding of what users require.  If you require an option that is not on the list then please leave a comment.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/wordpress-theme-poll/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/wordpress-theme-poll</feedburner:origLink></item><item><title>New To WordPress, Now What?</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/4zKWdy1Yc8s/new-to-wordpress-now-what</link><category>Wordpress</category><category>Blog</category><category>Form</category><category>Security</category><category>SEO</category><category>Twitter</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Sat, 10 Oct 2009 03:37:58 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=787</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>So you have just installed WordPress?  Not sure what to do next or which order to do it in?  Here is a little guide to help get you started with you new WordPress blog.</p>
<h3 class="border">Change Your permalink structure</h3>
<p>Want to start writing posts straight away? Changing your permalink structure is good SEO practice and if you apply it from the start will save you the hassle of having to install redirect plugins to change it later.  Go to <strong>Settings » Permalinks</strong> and  change it to something like <strong>/%year%/%postname%</strong> or <strong>/%category%/%postname%/</strong></p>
<p>Further Resources</p>
<ul>
<li><a title="Best SEO permalink structure" href="http://enlightenedwebmastery.com/best-seo-wordpress-permalink-structure" target="blank">Best SEO WordPress Permalink structure</a></li>
<li><a title="WordPress SEO Tutorial: The Best SEO Permalink Structure" href="http://theseoblogger.com/seo-blogs/wordpress/wordpress-seo-tutorial-permalink-structure/" target="blank">WordPress SEO Tutorial: The Best SEO Permalink Structure</a></li>
<li><a title="Using Permalinks" href="http://codex.wordpress.org/Using_Permalinks" target="blank">WordPress Codex-Using permalinks</a></li>
</ul>
<h3 class="border">Enable Spam Blocking</h3>
<p>Askimet comes with your wordpress installation and is an excellent tool to filter out the junk.  In order to use it you need a <a title="Wordpress API Key" href="http://en.wordpress.com/api-keys/" target="blank">WordPress API key</a> and you need to activate it in the <strong>Plugins</strong> section of your admin page.  In addition to Askimet I use <a title="WP Captcha Free" href="http://wordpresssupplies.com/wordpress-plugins/captcha-free/" target="blank">WP Captcha free</a> which has eliminated 99.9% of spam and it does not require any configuration or any user interaction such as captcha/image verification.</p>
<p>Further Resources</p>
<ul>
<li><a title="Combating Comment Spam" href="http://codex.wordpress.org/Combating_Comment_Spam" target="blank">Combating Comment Spam</a></li>
</ul>
<h3 class="border">Security</h3>
<p>Don&#8217;t know how secure your WordPress installation is? Unsure of file permissions or .htaccess? <a title="WP-Security Scan" href="http://semperfiwebdesign.com/plugins/wp-security-scan/" target="blank">WP-Security Scan</a> will check your installation for security vulnerabilities  and will recommend what actions to take. I also recommend that you block access to the wp-admin folder by using the .htpasswd &amp; .htaccess generator on the <a title="htaccess-authentication" href="http://www.htaccesstools.com/htaccess-authentication/" target="blank">htaccesstools website</a>.</p>
<p>Further Resources</p>
<ul>
<li><a title="Hardening WordPress" href="http://codex.wordpress.org/Hardening_WordPress" target="blank">Hardening WordPress</a></li>
<li><a title="Wordpress Security Whitepaper" href="http://blogsecurity.net/wordpress/wordpress-security-whitepaper" target="blank">WordPress Security Whitepaper</a></li>
<li><a title="8 Security Tips For Your WordPress Blog" href="http://www.online-tech-tips.com/blogging/8-security-tips-and-guidelines-for-your-wordpress-blog/" target="blank">8 Security Tips For Your WordPress Blog</a></li>
<li><a title="Wordpress Security Tips and Hacks" href="http://www.noupe.com/how-tos/wordpress-security-tips-and-hacks.html" target="blank">WordPress Security Tips and Hacks</a></li>
</ul>
<h3 class="border">Sitemaps and SEO</h3>
<p>Want to get your site noticed? <a title="Google XML Sitemap Generator" href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/" target="blank">Google XML Sitemap Generator</a> will create and publish a sitemap to all major search engines.  <a title="All In One SEO Pack" href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/" target="blank">All-In-One SEO Pack</a> optimises your blog for search engines.  Interested in knowing more about who visits your site then enable <a title="Wordpress.com stats" href="http://wordpress.org/extend/plugins/stats/" target="blank">WordPress.com stats</a> and join <a title="Google Webmaster tools" href="https://www.google.com/webmasters/tools/home" target="blank">Google Webmaster Tools</a> and <a title="Google Analytics" href="http://www.google.com/analytics/" target="blank">Google Analytics</a>.</p>
<p>Further Resources</p>
<ul>
<li><a title="Ultimate guide to SEO Google Sitemaps" href="http://www.nathanrice.net/blog/ultimate-guide-to-wordpress-seo-google-sitemaps/" target="blank">Ultimate guide to SEO Google Sitemaps</a></li>
<li><a title="SEO For WordPress Blogs" href="http://www.jimwestergren.com/seo-for-wordpress-blogs/" target="blank">SEO For WordPress Blogs</a></li>
</ul>
<h3 class="border">Contact Form</h3>
<p>If I like to contact someone personally I would like to contact them through a contact form other than posting a comment on a blog post.  I was recently contacted by someone who wanted the contact details for a blog which was using one of my themes. Having a contact form makes your site more accessible and allows your audience to connect with you.  Setting up a contact form isn&#8217;t difficult and there are plenty of plugins that can do this for you like <a title="Easy Contact" href="http://www.plaintxt.org/experiments/easy-contact/" target="blank">Easy Contact</a> or <a title="Contact Form 7" href="http://contactform7.com/" target="blank">Contact Form 7</a> which are both lightweight and easy to use.</p>
<h3 class="border">Social Networking &amp; RSS Feeds</h3>
<p>Get your posts noticed more and increase your traffic.  Sign up for Twitter, Digg, Delicious etc.  and add your blog to a blog directories like <a title="Technorati" href="http://technorati.com/" target="blank">Technorati</a> and <a title="Blog Catalog" href="http://www.blogcatalog.com/" target="blank">Blogcatalog</a>.  Sign up for <a title="Feedburner" href="http://feedburner.google.com" target="blank">Feedburner</a> to process your RSS feeds along with the wordpress <a title="FD Feedburner Plugin" href="http://flagrantdisregard.com/feedburner/" target="blank">FD Feedburner Plugin</a> plugin.</p>
<p>Enjoy this post?  Would you do anything differently?  Please share your experiences.</p>
<div class="related">
<h2>Related Posts</h2>
<ul>
<li><a title="Display Your Twitter Posts On Your Site" href="http://www.worldoweb.co.uk/2009/display-your-twitter-posts-on-your-site">Display Your Twitter Posts On Your Site</a></li>
</ul>
</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=4zKWdy1Yc8s:nEd7-pa-vek:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=4zKWdy1Yc8s:nEd7-pa-vek:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=4zKWdy1Yc8s:nEd7-pa-vek:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=4zKWdy1Yc8s:nEd7-pa-vek:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=4zKWdy1Yc8s:nEd7-pa-vek:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=4zKWdy1Yc8s:nEd7-pa-vek:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=4zKWdy1Yc8s:nEd7-pa-vek:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=4zKWdy1Yc8s:nEd7-pa-vek:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=4zKWdy1Yc8s:nEd7-pa-vek:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/4zKWdy1Yc8s" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/wordpress.jpg" alt="New To Wordpress, Now What?" height="85" width="85"  /&gt;&lt;/div&gt;&lt;p class="title"&gt;So you have just installed Wordpress?  Not sure what to do next or which order to do it in?  Here is a little guide to help get you started with you new Wordpress blog.  This post features permalink structure, Spam blocking, SEO, Security, Social Networking and Contact forms.  &lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/new-to-wordpress-now-what/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">3</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/new-to-wordpress-now-what</feedburner:origLink></item><item><title>Backup Your Firefox Profile Manually</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/a5EYQfQkOxY/backup-your-firefox-profile-manually</link><category>Browser</category><category>Backup</category><category>Firefox</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Sat, 26 Sep 2009 12:26:05 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1234</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>The browser is one of the most used pieces of software used today and believe me there is nothing worse than losing all of your data if your computer suddenly crashes or your data becomes corrupted.  There are tools that will backup your Firefox profiles for you but this can be time consuming.  I use a  method will backup the entire folder with everything in it from passwords, extensions to favourites and its so simple anyone can do it.  I will show you how to do this in Windows XP, Vista, Windows 7 and also Linux Mint.</p>
<h3 class="border">1.  Prerequisites</h3>
<p>I am assuming that you have some source of backup media whether it is a USB pen drive, external hard drive, online backup or memory card.  On your backup media create a folder, lets call it backup.  Within that folder create another folder called Firefox profile or something similar.  Its just there to remind you what it is, so that you don&#8217;t accidentally delete it.</p>
<h3 class="border">2.  Enable hidden files &amp; folders</h3>
<p><strong>XP</strong></p>
<p>Open My Computer  &gt;  Select Tools   &gt;  Folder Option  &gt;  View Tab  &gt;  Select Show Hidden Files &amp; Folders</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/manualfirefox/7hiddenfiles.jpg" title="Menu bar item to display files and folders." class="thickbox" rel="singlepic164" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/164__320x240_7hiddenfiles.jpg" alt="Hidden Files and Folders" title="Hidden Files and Folders" />
</a>

<p><strong>Vista &amp; 7</strong></p>
<p>Open Your User Folder  &gt;  Click On Organize  &gt;  Folder And Search Options  &gt;  View Tab &gt;  Select Show Hidden Files Folder And Drives</p>
<p><strong>Linux</strong></p>
<p>Open Home Folder  &gt;  Click On The View Menu Bar  &gt;   Select The Checkbox View Hidden Files.</p>
<h3 class="border">3.  Now to find the folder</h3>
<p><strong>XP</strong></p>
<p>Go to My Computer  &gt;  Local Disc (C:)  &gt;  Documents &amp; Settings  &gt;  Your User Name  &gt;  Application Data  &gt;  Mozilla  &gt;  Firefox  &gt;  Profiles</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/manualfirefox/step8_0.jpg" title="Windows XP Firefox directory" class="thickbox" rel="singlepic167" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/167__320x240_step8_0.jpg" alt="Firefox Directory" title="Firefox Directory" />
</a>

<p><strong>Vista &amp; Windows 7</strong></p>
<p>Go to your home folder  &gt;  AppData  &gt;  Roaming  &gt;  Mozilla  &gt;  Firefox  &gt;  Profiles</p>
<p><strong>Linux</strong></p>
<p>Go to your home folder  &gt;  .mozilla  &gt;  Firefox</p>

<a href="http://www.worldoweb.co.uk/wp-content/gallery/manualfirefox/mint.jpg" title="The Linux Mint Firefox directory." class="thickbox" rel="singlepic165" >
	<img class="ngg-singlepic ngg-center" src="http://www.worldoweb.co.uk/wp-content/gallery/cache/165__320x240_mint.jpg" alt="Firefox Directory" title="Firefox Directory" />
</a>

<h3 class="border">4.  Backup the folder</h3>
<p>Your profile is a random selection of numbers and letters which is followed by <strong>.default</strong>.  Copy and paste that folder in to your backup folder that you created in <strong>Step 1</strong>.  Backup <strong>profiles.ini</strong> too and put that also in your backup folder.</p>
<h3 class="border">5.  Restoring backup</h3>
<p>If you are on a new computer or a fresh install you will need to run Firefox and then close it, this will create a new profile.  Navigate to the directory as in <strong>Step 3</strong>.  From here you have 2 options.  You can either replace the contents of the new <strong>.default</strong> folder with your contents or delete the original folder and copy your old folder across along with the profiles.ini, overwriting the original profiles.ini.</p>
<p>This method is not also limited to backing up Firefox profiles, you can save Thunderbird, Seamonkey, Galeon, Flock, Songbird or any Mozilla based software.  I used this method to move my Firefox and Thunderbird profiles from Vista to Linux.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=a5EYQfQkOxY:5ZW2BR2oFoA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=a5EYQfQkOxY:5ZW2BR2oFoA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=a5EYQfQkOxY:5ZW2BR2oFoA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=a5EYQfQkOxY:5ZW2BR2oFoA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=a5EYQfQkOxY:5ZW2BR2oFoA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=a5EYQfQkOxY:5ZW2BR2oFoA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=a5EYQfQkOxY:5ZW2BR2oFoA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=a5EYQfQkOxY:5ZW2BR2oFoA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=a5EYQfQkOxY:5ZW2BR2oFoA:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/a5EYQfQkOxY" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/firefox_logo.jpg" alt="Backup Firefox Manually" height="85" width="85"  /&gt;&lt;/div&gt;&lt;p class="title"&gt;The browser is one of the most used pieces of software used today and believe me there is nothing worse than losing all of your data if your computer suddenly crashes or your data becomes corrupted.  There are tools that will backup your Firefox profiles for you but this can be time consuming.  I use a  method will backup the entire folder with everything in it from passwords, extensions to favourites and its so simple anyone can do it.  I will show you how to do this in Windows XP, Vista, Windows 7 and also Linux Mint.&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/backup-your-firefox-profile-manually/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/backup-your-firefox-profile-manually</feedburner:origLink></item><item><title>WorldOWeb Theme Release</title><link>http://feedproxy.google.com/~r/WorldOWeb/~3/3DibETwOw_c/worldoweb-theme-release</link><category>Wordpress</category><category>Theme</category><category>Twitter</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tracy</dc:creator><pubDate>Mon, 21 Sep 2009 14:40:16 PDT</pubDate><guid isPermaLink="false">http://www.worldoweb.co.uk/?p=1349</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>WorldOWeb theme was my original theme that I have decide to release.  It is a lightweight theme which is suitable for all audiences.  It has been tested with wordpress 2.7 upwards.  The latest version is 2.2.9 which was released on 3rd October 09.</p>
<h3 class="border">Features include:</h3>
<ul>
<li>Widget Ready</li>
<li>Fluid Width</li>
<li>Valid XHTML &#038; CSS</li>
<li>Two Columns</li>
<li>Comments &#038; Pings are separated</li>
<li>WP-navi plugin compatible<strong>*</strong></li>
<li>WP-twitip-light compatible <strong>*</strong></li>
</ul>
<p><strong>*</strong>&nbsp;Compatible when the included plugins are activated.</p>
<h3 class="border">Screenshots</h3>

<div class="ngg-galleryoverview" id="ngg-gallery-19-1349">


	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.worldoweb.co.uk/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=19&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-161" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.worldoweb.co.uk/wp-content/gallery/worldowebtheme/comments.png" title="Wordpress comment style." class="thickbox" rel="set_19" >
								<img title="Comments Page" alt="Comments Page" src="http://www.worldoweb.co.uk/wp-content/gallery/worldowebtheme/thumbs/thumbs_comments.png"  />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-162" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.worldoweb.co.uk/wp-content/gallery/worldowebtheme/index.jpg" title="The homepage index.php" class="thickbox" rel="set_19" >
								<img title="Homepage" alt="Homepage" src="http://www.worldoweb.co.uk/wp-content/gallery/worldowebtheme/thumbs/thumbs_index.jpg"  />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-163" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.worldoweb.co.uk/wp-content/gallery/worldowebtheme/reply.png" title="Reply section of theme including twitter id." class="thickbox" rel="set_19" >
								<img title="Reply" alt="Reply" src="http://www.worldoweb.co.uk/wp-content/gallery/worldowebtheme/thumbs/thumbs_reply.png"  />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


<p><a href="/scripts/WorldOWeb2.2.9.zip" target="blank" title="Download WorldOWeb Theme"> <img src="http://www.worldoweb.co.uk/wp-content/thumbnails/download.png" alt="Download" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=3DibETwOw_c:DGUuB4sYq68:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=3DibETwOw_c:DGUuB4sYq68:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=3DibETwOw_c:DGUuB4sYq68:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=3DibETwOw_c:DGUuB4sYq68:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=3DibETwOw_c:DGUuB4sYq68:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=3DibETwOw_c:DGUuB4sYq68:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=3DibETwOw_c:DGUuB4sYq68:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?i=3DibETwOw_c:DGUuB4sYq68:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WorldOWeb?a=3DibETwOw_c:DGUuB4sYq68:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/WorldOWeb?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WorldOWeb/~4/3DibETwOw_c" height="1" width="1"/>]]></content:encoded><description>&lt;div class="thumb"&gt;&lt;img src="http://worldoweb.co.uk/wp-content/thumbnails/wordpress.jpg" alt="WorldOWeb Theme Release" height="85" width="85"  /&gt;&lt;/div&gt;&lt;p class="title"&gt;WorldOWeb theme was my original theme that I have decide to release.  It is a lightweight theme which is suitable for all audiences.  It has been tested with wordpress 2.7 upwards.  The latest version is 2.2.9 which was released on 3rd October 09&lt;/p&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.worldoweb.co.uk/2009/worldoweb-theme-release/feed</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">12</slash:comments><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.worldoweb.co.uk/2009/worldoweb-theme-release</feedburner:origLink></item></channel></rss>
