<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>The Geek Blogs</title>
	<atom:link href="http://www.thegeekblogs.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekblogs.com</link>
	<description>We tell it like it is, or was, or I mean is, yea.</description>
	<pubDate>Tue, 29 Jul 2008 05:44:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Cuil.com = Not So &#8220;Cool&#8221;</title>
		<link>http://www.thegeekblogs.com/archive/31/cuilcom-not-so-cool/</link>
		<comments>http://www.thegeekblogs.com/archive/31/cuilcom-not-so-cool/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 05:44:27 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Rants &amp; Raves]]></category>

		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[hype]]></category>

		<category><![CDATA[search engines]]></category>

		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=31</guid>
		<description><![CDATA[So, today was the first day the media has been in an uproar about a new search engine developed by an ex-Google employee&#8230;and I have to say&#8230;what a bunch of hype for NOTHING! The search is PATHETIC compared to Google (which they are trying to compare the two), interface is a little too much, and [...]]]></description>
			<content:encoded><![CDATA[<p>So, today was the first day the media has been in an uproar about a new search engine developed by an ex-Google employee&#8230;and I have to say&#8230;what a bunch of hype for NOTHING! The search is PATHETIC compared to Google (which they are trying to compare the two), interface is a little too much, and seriously&#8230;NO RELEVANT CONTENT, WHATSOEVER! <a href="http://www.cuil.com" target="_blank">See for yourself.</a><br />
If I were you Mr. ex-Google employee I&#8217;d go and see if I could get that job back right about now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/31/cuilcom-not-so-cool/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why Do People Hate Smarty?</title>
		<link>http://www.thegeekblogs.com/archive/30/why-do-people-hate-smarty/</link>
		<comments>http://www.thegeekblogs.com/archive/30/why-do-people-hate-smarty/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 03:46:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Smarty]]></category>

		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=30</guid>
		<description><![CDATA[During the beginning of this year I started noticing many people, including web developers and designers, causing an uproar about Smarty being so-called "dead." At the time I thought nothing of it. "Oh, just some newbies blowing smoke." But, recently it's been getting heard more and more. I got curious today so I started investigating.]]></description>
			<content:encoded><![CDATA[<p>During the beginning of this year I started noticing many people, including web developers and designers, causing an uproar about <a href="http://smarty.php.net" target="_blank">Smarty</a> being so-called &#8220;dead.&#8221; At the time I thought nothing of it. &#8220;Oh, just some newbies blowing smoke.&#8221; But, recently it&#8217;s been getting heard more and more. I got curious today so I started investigating.<br />
     I found the point of origin of the intoxicating rumor. Hasin Hayder, co-author of the book <a href="http://www.packtpub.com/smarty/book/mid/160606wf4ulr" target="_blank">&#8220;Smarty PHP Template Programming and Applications&#8221;</a>, wrote a blog post stating a few comments about the use of MVC frameworks and the likes. <a href="http://hasin.wordpress.com/2008/01/05/once-upon-a-time-there-was-smarty/" target="_blank">The post can be found here.</a> Anyways, he goes on saying how Smarty is pretty much a lost cause because of the &#8220;ease of development&#8221; the frameworks allow and pretty much leaves it at that.<br />
     Well, Mr. Hayder, you may have co-authored a book about Smarty but you surely don&#8217;t know a thing about WHY people use Smarty&#8230;which leads me to suspect your true involvement with putting together that book. This is why people use Smarty:</p>
<ul>
<li>Logical separation of business/design. Using Smarty&#8217;s templating schema is very much easier than using PHP.</li>
<li>Smarty employs security within the templating system itself. Sure you can still execute php code using {php}, but you can always disable it.</li>
<li>Smarty employs caching without utilizing external sources.</li>
<li>Smarty can be integrated easily into pre-existing content management systems or used stand-alone&#8230;others cannot.</li>
<li>Why build something else which serves the same purpose when Smarty is already made, free, and has pretty much EVERYTHING you could ever possibly want in a template system?</li>
</ul>
<p>Bottom line: Smarty is best suited for use when you may not allow your designers and developers to work with one another on the same files/templates or allow them access to PHP, with which you have total control over the system. (I&#8217;m sure your designer isn&#8217;t modifying system-related data on your server&#8230;right?) Smarty makes sure that designers cannot make systematic mistakes. If they make a mistake, it will be design related.<br />
So, bottom-bottom line: Smarty helps you protect your system from outside sources as well as even from the users themselves!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/30/why-do-people-hate-smarty/feed/</wfw:commentRss>
		</item>
		<item>
		<title>User Authentication with PHP+MySQL: Part #2</title>
		<link>http://www.thegeekblogs.com/archive/28/user-authentication-with-phpmysql-part-2/</link>
		<comments>http://www.thegeekblogs.com/archive/28/user-authentication-with-phpmysql-part-2/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 01:10:54 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Development Tutorials]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[php oop]]></category>

		<category><![CDATA[user authentication]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=28</guid>
		<description><![CDATA[When we left off last we had just finished detailing what you need to begin with this tutorial. If you have not checked please read them over here then come back here to begin.
So, we&#8217;re building a basic user authentication system utilizing PHP and MySQL. First thing&#8217;s first, which tracking mechanism to use? Personally, I [...]]]></description>
			<content:encoded><![CDATA[<p>When we left off last we had just finished detailing what you need to begin with this tutorial. If you have not checked please <a href="http://www.thegeekblogs.com/archive/23/how-to-develop-a-basic-user-authentication-system-with-php/" target="_blank">read them over here</a> then come back here to begin.</p>
<p>So, we&#8217;re building a basic user authentication system utilizing PHP and MySQL. First thing&#8217;s first, which tracking mechanism to use? Personally, I prefer using <a href="http://www.kilermedia.com/web-development/why-cookies-are-better-than-sessions/" target="_blank">cookies over sessions</a> for user-driven systems for several reasons noted at the link; so, we&#8217;ll be using cookies in this tutorial.</p>
<p>Now, before we even begin to type any code lets get the schema of the database all thought out and created. Here&#8217;s the basic schema/SQL:</p>
<blockquote><p>
CREATE TABLE `kiler_users` (<br />
&nbsp;&nbsp;`id` int(11) NOT NULL auto_increment,<br />
&nbsp;&nbsp;`username` varchar(28) NOT NULL,<br />
&nbsp;&nbsp;`email` varchar(110) NOT NULL,<br />
&nbsp;&nbsp;`pass` varchar(85) NOT NULL,<br />
&nbsp;&nbsp;`is_confirmed` int(1) NOT NULL,<br />
&nbsp;&nbsp;`confirm_hash` varchar(65) NOT NULL,<br />
&nbsp;&nbsp;PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
</p></blockquote>
<p>Now that our database structure is thought out and created we can begin on the logic (code).</p>
<p>In my experiences with programming in general I am quite familiar with Object Oriented Programming, and will therefore create this user system with the use of it. If you are new to object oriented programming or to PHP in general please try and follow along until I can get around to creating an introductory tutorial on OOP.</p>
<p>Our system requires the use of a class which creates the objects needed to satisfy our user system; we will create it. In a separate php file save the following class as kiler.user.class.php</p>
<blockquote><p>
class KilerUser{<br />
&nbsp;&nbsp;&nbsp;public $userID;<br />
&nbsp;&nbsp;&nbsp;public $userName;<br />
&nbsp;&nbsp;&nbsp;public $userEmail;<br />
&nbsp;&nbsp;&nbsp;public $userPass;<br />
&nbsp;&nbsp;&nbsp;public $userHash;</p>
<p>&nbsp;&nbsp;&nbsp;function __construct($userID,$userName,$userEmail,$userPass,$userHash){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this->userID = $userID;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this->userName = $userName;<br />
&nbsp;&nbsp;&nbsp;$this->userPass = $userPass;<br />
&nbsp;&nbsp;&nbsp;$this->userHash = $userHash;<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function login($userName,$userPass){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;global $db;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$go = @mysql_query(&#8221;select id, pass from kiler_users where username = &#8216;$userName&#8217; and pass = &#8216;$userPass&#8217; limit 1&#8243;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!$go) return false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$checkpass = @mysql_fetch_assoc($go);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pass2 = $checkpass[&#8217;pass&#8217;];<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($userPass != $pass2) return false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$chkconf = $this->checkConfirmed($userName);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!$chkconf) return false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userName = strtolower($userName);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this->setCookies($userName);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return true;<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function setCookies($userName){<br />
&nbsp;&nbsp;&nbsp;setcookie(&#8217;kiler_userlogin&#8217;, $userName, (time()+12800), &#8216;/&#8217;, &#8221;, 0);<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function isLoggedIn(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;global $db, $_COOKIE;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(isset($_COOKIE[&#8217;kiler_userlogin&#8217;])){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userName = mysql_real_escape_string($_COOKIE[&#8217;kiler_userlogin&#8217;]);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$check = @mysql_query(&#8221;select id from kiler_users where username = &#8216;$userName&#8217; limit 1&#8243;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$checkNum = @mysql_num_rows($check);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return ($checkNum>=1) ? true : false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return false;<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function logout(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setcookie(&#8217;kiler_userlogin&#8217;, &#8221;, (time()-2592000), &#8216;/&#8217;, &#8221;, 0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;header(&#8221;Location: http://www.yoursite.com&#8221;) and exit();<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function checkConfirmed($userName){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;global $db;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userName = strtolower(@mysql_real_escape_string($userName));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$go = @mysql_query(&#8221;select username, is_confirmed from kiler_users where username = &#8216;$userName&#8217; limit 1&#8243;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$goNum = @mysql_num_rows($go);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($goNum!=1) return false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$getdata = @mysql_fetch_assoc($go);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userName2 = stripslashes(strtolower($getdata[&#8217;username&#8217;]));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$isit = $getdata[&#8217;is_confirmed&#8217;];<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($userName != $userName2) return false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($isit == &#8216;0&#8242; || $isit == &#8221;) return false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return ($isit == &#8216;1&#8242;) ? true : false;<br />
&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;function getUserID($userName){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;global $db;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$go = @mysql_query(&#8221;select id, username from kiler_users where username = &#8216;$userName&#8217; limit 1&#8243;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$goNum = @mysql_num_rows($go);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($goNum!=1){ $this->logout(); return; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$goRw = @mysql_fetch_assoc($go);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$goRwNum = @mysql_num_rows($goRw);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($goRwNum!=1){ $this->logout(); return; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userName2 = stripslashes(strtolower($goRw[&#8217;username&#8217;]));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userID = $goRw[&#8217;id&#8217;];<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($userName != $userName2){ $this->logout(); return; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return $userID;<br />
&nbsp;&nbsp;&nbsp;}<br />
}
</p></blockquote>
<p>Now, I won&#8217;t get into the details of the functions within the class as it should be pretty much straight-forward. For the sake of quickness I&#8217;ll slack there and now show you how to use this basic class.</p>
<p>In your system before you call any headers or whatnot you&#8217;ll need to add the code which will utilize the user class/system, and here it is:</p>
<blockquote><p>
require_once &#8216;/path/to/your_Database_Connection.php&#8217;;<br />
require_once &#8216;/path/to/kiler.user.class.php&#8217;;</p>
<p>$kilerUser = new KilerUser();<br />
// if logout is set log them out!<br />
if(isset($_GET[&#8217;logout&#8217;])){<br />
&nbsp;&nbsp;&nbsp;$kilerUser->logout();<br />
}<br />
$is_user_logged_in = $kilerUser->isLoggedIn();<br />
if(!$is_user_logged_in){<br />
&nbsp;&nbsp;&nbsp;// user is not logged in<br />
&nbsp;&nbsp;&nbsp;// see if login form has been submitted.<br />
&nbsp;&nbsp;&nbsp;// If it has process the form.<br />
&nbsp;&nbsp;&nbsp;if(isset($_POST[&#8217;user_name&#8217;]) &#038;&#038; isset($_POST[&#8217;user_pass&#8217;])){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userName = strip_tags(strtolower(mysql_real_escape_string($_POST[&#8217;user_name&#8217;])));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userPass = md5(mysql_real_escape_string(strip_tags($_POST[&#8217;user_pass&#8217;])));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$goLogin = $kilerUser->login($userName,$userPass);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($goLogin){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// successful login<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$rr = @mysql_query(&#8221;select id from kiler_users where username = &#8216;$userName&#8217; limit 1&#8243;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$rw = @mysql_fetch_assoc($rr);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$userID = $rw[&#8217;id&#8217;];<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}else{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$login_message = &#8216;You have entered an incorrect login user/pass combination or your account has not been confirmed.&#8217;;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;}<br />
}else{<br />
&nbsp;&nbsp;&nbsp;// user is logged in<br />
&nbsp;&nbsp;&nbsp;// Get their user id<br />
&nbsp;&nbsp;&nbsp;$userName = mysql_real_escape_string($_COOKIE[&#8221;kiler_userlogin&#8221;]);<br />
&nbsp;&nbsp;&nbsp;$userID = $kilerUser->getUserID($userName);<br />
&nbsp;&nbsp;&nbsp;if($userID == &#8221; || $userID == 0){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$login_message = &#8216;Error recovering user data.&#8217;;<br />
&nbsp;&nbsp;&nbsp;}else{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$login_message = &#8216;Welcome back userID: &#8216;.$userID.&#8217;!';<br />
&nbsp;&nbsp;&nbsp;}<br />
}</p>
<p>if(isset($login_message)){<br />
&nbsp;&nbsp;&nbsp;echo $login_message;<br />
}
</p></blockquote>
<p>This is a bare-bones user system, not including the actual registration form/process and is also missing the login form&#8230;which I&#8217;m sure if you made it this far you can handle on your own. This system has several design flaws, such as using straight mysql calls rather than a wrapper, only utilizing md5 and not adding &#8220;salt&#8221;, and the likes; but I&#8217;m sure you can weed those out and refine a bit. This was meant to give the basic idea to newbies and the likes. I hope this helps someone.</p>
<p>To secure this class/script:<br />
1. Add &#8220;salt&#8221; to the encryption on the users password.<br />
2. Add md5 encryption and &#8220;salt&#8221; to the users cookie.<br />
&#8230;come on, I can&#8217;t do everything for you.</p>
<p>If you have any questions, comments or flames feel free to utilize the commenting feature here. <img src='http://www.thegeekblogs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/28/user-authentication-with-phpmysql-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Albert Hofmann Dead At Age 102</title>
		<link>http://www.thegeekblogs.com/archive/26/albert-hofmann-dead-at-age-102/</link>
		<comments>http://www.thegeekblogs.com/archive/26/albert-hofmann-dead-at-age-102/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 09:03:27 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[World News]]></category>

		<category><![CDATA[r.i.p.]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=26</guid>
		<description><![CDATA[Albert Hofmann, the pioneering Swiss chemist and advocate of psychedelics who discovered the hallucinogenic properties of LSD, died Tuesday. He was 102.
Hofmann reportedly died of a heart attack at his home in Basel, Switzerland.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.thegeekblogs.com/img/lsd.jpg" style="float:right;padding:8px;" />It&#8217;s a sad day indeed.</p>
<p>Albert Hofmann, the pioneering Swiss chemist and advocate of psychedelics who discovered the hallucinogenic properties of LSD, died Tuesday. He was 102.<br />
Hofmann reportedly died of a heart attack at his home in Basel, Switzerland.</p>
<p>May you rest in peace Albert.</p>
<p>Source: <a href="http://blog.wired.com/wiredscience/2008/04/lsd-inventor-al.html" target="_blank">LSD Inventor Albert Hofmann Dead at Age 102</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/26/albert-hofmann-dead-at-age-102/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GTA IV Release Eminent</title>
		<link>http://www.thegeekblogs.com/archive/25/gta-iv-release-eminent/</link>
		<comments>http://www.thegeekblogs.com/archive/25/gta-iv-release-eminent/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 03:46:28 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[GTA IV]]></category>

		<category><![CDATA[PlayStation 3]]></category>

		<category><![CDATA[Video Gaming]]></category>

		<category><![CDATA[gaming]]></category>

		<category><![CDATA[GTA]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=25</guid>
		<description><![CDATA[The Greatest Game Ever Made? A whole lot of gamers across the world surely do think so. As the release date closely approaches we all have to wonder, what this world would be like without the GTA series. A SAD WORLD INDEED!!!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.play-asia.com/SOap-23-50-13-83-9afd-70-1vgg.html" target="_blank"><img src="http://www.thegeekblogs.com/img/lcpd.jpg" style="float:left;padding:8px;" alt="Niko Bellic in a fierce gun battle." /></a>The Greatest Game Ever Made? A whole lot of gamers across the world surely do think so. As the release date closely approaches we all have to wonder, what this world would be like without the GTA series. A SAD WORLD INDEED!!!</p>
<p>The entire gaming community across the entire WORLD is a buzz about the newest Grand Theft Auto gaming title, us included! Grand Theft Auto IV is set to release in just about 10 minutes on the East Coast of the United States. If you are unable to find a copy at your local electronics store be sure to check out <a href="http://www.play-asia.com/SOap-23-50-13-83-9afd-70-1vgg.html" target="_blank">Grand Theft Auto IV at Play-Asia</a>, as they have loads!</p>
<p>Much more about Grand Theft Auto IV here once I get my grubby hands on it!</p>
<p><strong>Useful Links:</strong><br />
<a href="http://www.rockstargames.com/IV/" target="_blank">Grand Theft Auto IV Official Website</a><br />
<a href="http://www.rockstargames.com/socialclub/" target="_blank">Rockstar Games Social Club</a><br />
<a href="http://en.wikipedia.org/wiki/Grand_Theft_Auto_IV" target="_blank">Grand Theft Auto IV at Wikipedia</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/25/gta-iv-release-eminent/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Update Your Smarty Installation!</title>
		<link>http://www.thegeekblogs.com/archive/24/update-your-smarty-installation/</link>
		<comments>http://www.thegeekblogs.com/archive/24/update-your-smarty-installation/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 23:24:25 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Smarty]]></category>

		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[template engine]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=24</guid>
		<description><![CDATA[I just noticed recently that a new subversion of the Smarty Template Engine has been released, which fixes a few bugs and one major security risk.]]></description>
			<content:encoded><![CDATA[<p>I just noticed recently that a new subversion of the Smarty Template Engine has been released, which fixes a few bugs and one major security risk.</p>
<blockquote><p>This release addresses a couple of bug fixes, and a bug with the regex_replace modifier that <u>can allow php functions to be called in templates</u>. If you use the security features of Smarty, you should upgrade immediately. As a quick fix, you can replace the modifier.regex_replace.php plugin with the new one.</p></blockquote>
<p>The current version of Smarty is: 2.6.19<br />
If you&#8217;re running an older version <a href="http://www.smarty.net/" target="_blank">go to the Smarty source</a> and upgrade immediately!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/24/update-your-smarty-installation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to develop a basic user-authentication system with PHP</title>
		<link>http://www.thegeekblogs.com/archive/23/how-to-develop-a-basic-user-authentication-system-with-php/</link>
		<comments>http://www.thegeekblogs.com/archive/23/how-to-develop-a-basic-user-authentication-system-with-php/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 19:33:55 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Development Tutorials]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[php code]]></category>

		<category><![CDATA[php tutorials]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[tips]]></category>

		<category><![CDATA[user authentication]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=23</guid>
		<description><![CDATA[User authentication systems have been used since the dawn of the Internet, and even before then. From MySpace, Yahoo! Mail, GMail, to logging in to your Windows (or other) desktop; user authentication systems serve several purposes, with the main being to protect or limit access to certain information and/or data.]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s start with some background information.</p>
<p>User authentication systems have been used since the dawn of the Internet, and even before then. From MySpace, Yahoo! Mail, GMail, to logging in to your Windows (or other) desktop; user authentication systems serve several purposes, with the main being to protect or limit access to certain information and/or data.</p>
<p>When developing dynamic web systems you will always need some form of user authentication system to control access to certain features within the system. It is always a good idea to limit access to certain features of your system to specified people/things, so this tutorial will definitely be put to good use if you need it.</p>
<p><strong><em>What You Need Before We Begin:</em></strong></p>
<ol>
<li><u>Your own domain and webhost account.</u> - While you can possibly get a free host somewhere to host your website, you will always be looked at as an amateur if you do not own your own domain. You can still utilize and follow this tutorial without your own domain but we do not recommend it. Also, you can still follow this tutorial without a webhost account but you will not be able to utilize and/or setup the user system without one.<br />We recommend <a href="http://www.godaddy.com/" target="_blank">GoDaddy</a> for your domain registrar and <a href="http://www.lunarpages.com/id/bsesoft" target="_blank">LunarPages</a> for your webhost, as both are cheap and very reliable.</li>
<li><u>PHP 5+ installed on your webhost.</u> - The PHP code used in this tutorial was coded to work with PHP version 5 but is completely compatible with newer versions of PHP (6).</li>
<li><u>MySQL 4+ installed on your webhost.</u> - The MySQL queries used in this tutorial were coded to work with MySQL version 4.0 but is completely compatible with newer versions of MySQL.</li>
<li><u>Plain Text Editor.</u> - You will undoubtedly need a text editor to write, edit and save your code (files). We recommend <a href="http://www.blumentals.net/webuilder/" target="_blank">WeBuilder</a>.</li>
<li><u>FTP Client.</u> - You will undoubtedly need an FTP client to transfer your files from your computer to your webhosts server. We recommend <a href="http://www.cuteftp.com/" target="_blank">CuteFTP</a>.</li>
<li><u>Beginner PHP knowledge.</u> You will need to know at least how to print text/code blocks to the browser window, basic string manipulation techniques, and how to properly manipulate and modify cookies with PHP to follow this tutorial. We recommend going over our introductory PHP articles, starting with <a href="http://www.thegeekblogs.com/archive/7/introduction-to-php5-part-1-what-is-php/">Introduction To PHP5: Part #1: What Is PHP?</a>.</li>
<li><u>Excelled (X)HTML knowledge.</u> You will need to know the HTML markup language through and through. You may still be able to follow through the tutorial though. We recommend going over our introductory HTML articles, starting with <a href="http://www.thegeekblogs.com/archive/11/introduction-to-html-part-1-what-is-and-what-you-need/">Introduction To HTML: Part #1: What Is and What You Need</a>.</li>
<li><u>Beginner MySQL knowledge.</u> - You will need to know how to code basic MySQL queries. We haven&#8217;t produced any SQL-related tutorials as of yet so sorry about that. <img src='http://www.thegeekblogs.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ol>
<p><strong><em>This tutorial will be continued at our earliest convienience.</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/23/how-to-develop-a-basic-user-authentication-system-with-php/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What Should I Do With This Domain?</title>
		<link>http://www.thegeekblogs.com/archive/21/what-should-i-do-with-this-domain/</link>
		<comments>http://www.thegeekblogs.com/archive/21/what-should-i-do-with-this-domain/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 07:53:10 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Rants &amp; Raves]]></category>

		<category><![CDATA[business]]></category>

		<category><![CDATA[proposals]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=21</guid>
		<description><![CDATA[Okay, I own the domain Swingor.com and have recently been propositioned for it with a low four-figure USD offer, and I&#8217;m having doubts about letting it go. See, for the past few years I&#8217;ve been heavily into coding custom content management systems for other companies and had a HUGE plan for this specific domain in [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I own the domain <a href="http://www.swingor.com" target="_blank">Swingor.com</a> and have recently been propositioned for it with a low four-figure USD offer, and I&#8217;m having doubts about letting it go. See, for the past few years I&#8217;ve been heavily into coding custom content management systems for other companies and had a HUGE plan for this specific domain in the future. Kind of like a mashup of AdultFriendFinder/MySpace/Facebook with my own twist. I still think I could implement my time and idea to make Swingor.com a huge hit in the near future. Well, what do you think I should do with it?<br />
Let it go for a low four-figure amount or monetize it in the near future? I&#8217;m leaning towards monetizing it for myself in the near future but I&#8217;d like to hear some feedback from those who know me and/or what I do. Leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/21/what-should-i-do-with-this-domain/feed/</wfw:commentRss>
		</item>
		<item>
		<title>STAR WARS: The Force Unleashed - Wii</title>
		<link>http://www.thegeekblogs.com/archive/20/star-wars-the-force-unleashed-wii/</link>
		<comments>http://www.thegeekblogs.com/archive/20/star-wars-the-force-unleashed-wii/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 01:00:34 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Geeky Finds]]></category>

		<category><![CDATA[Nintendo Wii]]></category>

		<category><![CDATA[PlayStation 3]]></category>

		<category><![CDATA[STAR WARS]]></category>

		<category><![CDATA[Sci-Fi]]></category>

		<category><![CDATA[Video Gaming]]></category>

		<category><![CDATA[gaming]]></category>

		<category><![CDATA[star wars]]></category>

		<category><![CDATA[uber-geek]]></category>

		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=20</guid>
		<description><![CDATA[Could there ever be such a video game series with such a loyal following of uber-geeks? I think not! STAR WARS: The Force Unleashed looks to be, simply, one awesome game!]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.thegeekblogs.com/img/force.jpg" width="170" height="228" style="float:left;padding:8px;" /> <span style="padding:4px;">Could there ever be such a video game series with such a loyal following of uber-geeks? I think not! STAR WARS: The Force Unleashed looks to be, simply, one awesome game!</span></p>
<blockquote><p><strong>Star Wars: The Force Unleashed</strong> is an upcoming multimedia project developed and published by LucasArts along with Dark Horse Comics, Lego, Hasbro, and Del Rey Books. It consists of a video game, a tie-in novel, action figures, a comic book, a reference book and a role-playing game supplement. The game will be available on Xbox 360, PlayStation 3, Wii, PlayStation Portable, Nintendo DS, second-generation N-Gage, and PlayStation 2. It is expected to be released September 16, 2008, in the United States, September 17 in Australia and September 19 in Europe.</p></blockquote>
<p>Definitely check out the further reading links if you&#8217;re interested!</p>
<p><strong>Further Reading:</strong></p>
<blockquote><p><a href="http://www.lucasarts.com/games/theforceunleashed/#/game_info/overview/" target="_blank">Star Wars: The Force Unleashed @ LucasArts.com</a><br /><a href="http://www.starwars.com/gaming/videogames/news/f20070322/index.html" target="_blank">From Concept To Console: Star Wars: The Force Unleashed @ StarWars.com</a><br /><a href="http://en.wikipedia.org/wiki/Star_Wars:_The_Force_Unleashed" target="_blank">Star Wars: The Force Unleashed @ Wikipedia</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/20/star-wars-the-force-unleashed-wii/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google goes door to door</title>
		<link>http://www.thegeekblogs.com/archive/19/google-goes-door-to-door/</link>
		<comments>http://www.thegeekblogs.com/archive/19/google-goes-door-to-door/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 20:06:57 +0000</pubDate>
		<dc:creator>Anna</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Geeky Finds]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[maps]]></category>

		<category><![CDATA[street view]]></category>

		<guid isPermaLink="false">http://www.thegeekblogs.com/?p=19</guid>
		<description><![CDATA[Google has out done themselves again.  This time, they have taken maps to the next level.  Has anyone you know tried to give you directions?  Does this sound familiar, "you gotta pass that gas station, turn left at the green building and you'll see my house?"  Well, looks like google is here to help.]]></description>
			<content:encoded><![CDATA[<p>Google has out done themselves again.  This time, they have taken maps to the next level.  Has anyone you know tried to give you directions?  Does this sound familiar, &#8220;you gotta pass that <em>gas station</em>, turn left at the <em>green building</em> and you&#8217;ll see my house?&#8221;  Well, looks like Google is here to help.</p>
<p>They now have the <strong>Street View </strong>option.  Not only will you find the address, but there&#8217;s a 360 degrees virtual view of the surrounding.  It&#8217;s not in every location, yet.  They actually drove down each street to get these images captured for users&#8217; convenience.  You&#8217;ll be able to understand when your friend is giving you directions without street names.  Check it out yourself at <strong><a title="Google Maps" href="http://maps.google.com" target="_blank">Google Maps</a></strong>, or check out their tutorial <a title="Google Maps Street View Tutorial" href="http://books.google.com/help/maps/streetview/">here</a>.</p>
<p><strong>Further Reading:</strong><br />
<a href="http://www.thesmokinggun.com/archive/years/2008/0404081google1.html" target="_blank">Couple Sues Google Over &#8220;Street View&#8221;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thegeekblogs.com/archive/19/google-goes-door-to-door/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
