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

<channel>
	<title>Not A n00b &#187; mysql</title>
	<atom:link href="http://notan00b.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://notan00b.com</link>
	<description>Tutorials, Scripts, and Rants</description>
	<lastBuildDate>Wed, 12 May 2010 08:08:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is a BLIND SQL Injection?</title>
		<link>http://notan00b.com/2010/01/what-is-a-blind-sql-injection/</link>
		<comments>http://notan00b.com/2010/01/what-is-a-blind-sql-injection/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 07:34:20 +0000</pubDate>
		<dc:creator>pyr0t3chnician</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[1=1]]></category>
		<category><![CDATA[1=2]]></category>
		<category><![CDATA[blind sql]]></category>
		<category><![CDATA[blind sql injection]]></category>
		<category><![CDATA[bsi]]></category>
		<category><![CDATA[get variables]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://notan00b.com/?p=241</guid>
		<description><![CDATA[Its been awhile, and I have been pretty busy.  I decided to talk a little bit about a few things I have learned and been working on.  When it comes to website security, most programmers understand what SQL injections are.  The user types something into a form that manipulates the SQL statement [...]]]></description>
			<content:encoded><![CDATA[<p>Its been awhile, and I have been pretty busy.  I decided to talk a little bit about a few things I have learned and been working on.  When it comes to website security, most programmers understand what SQL injections are.  The user types something into a form that manipulates the SQL statement to give them access to certain areas or display the info they want.  Then there are Blind Sql Injections (BSI).  These are much more complicated and considered an advanced penetration technique.  The funny thing is, they are 100% preventable.</p>
<p>So lets start out with the basics, what is it?  It all has to do with the URL bar and <em>get</em> variables.  Let&#8217;s say that my site is &#8220;http://www.mysite.com/&#8221; and I created a script that grabs info out of my database based on it&#8217;s ID in the database.  For example:  &#8220;http://www.mysite.com/index.php?pageid=10&#8243;.  My SQL statement will look like this: &#8220;SELECT * FROM pages WHERE ID=$_GET[id]&#8220;.  Just like a regular SQL Injection, a hacker can submit malicious code using the <em>get</em> variable.</p>
<p>This is where we differ a little from a basic SQL Injection.  In a basic SQL Injection, you simply type <code>' or 'x'='x</code> into a form and it may or may not authenticate you.  Your goal is to get it to toss an error, so that you know your code is not being parsed correctly.</p>
<p>Because we are retrieving info about a page with my example website script, not users, it makes it difficult to authenticate yourself with one line of code like a basic SQL Injection.  There is one thing we can do, and that is to make the SELECT statement true or false.  If my site is vulnerable, all we would need to type in the browser is: &#8220;http://www.mysite.com/index.php?pageid=10 and 1=1&#8243;.  If it isn&#8217;t parsed correctly, my vulnerable code will now look like this: SELECT * FROM pages WHERE ID=10 and 1=1.  That is a true statement so our page will display normally.  Now we try a false statement: &#8220;http://www.mysite.com/index.php?pageid=10 and 1=2&#8243; and our SQL query reads as: SELECT * FROM pages WHERE ID=10 and 1=2.  This statement is false, so it will not grab ANY info from pages.  With no info being grabbed from the database, our page will look significantly different.  Maybe some pictures won&#8217;t be there, or text will be missing, or maybe the entire page will be blank.  If that is the case, then you are in business.</p>
<p>So why is it called BLIND Sql Injection?  Well rather than executing queries directly, like a regular SQL injection, and getting your info directly, you are now blind instead.  You are using true/false statements to guess what the table names are, or manually hash them out using ascii codes and substrings.  It can take hours to get access to a vulnerable site, but there are programs and scripts out there that will do all the work for you so you don&#8217;t even have to think about it.</p>
<p>If you want to know a little bit more about how this works, lets try it out on a vulnerable example: http://www.cblpi.org</p>
<p>Lets say I went to Ann Coulter&#8217;s bio page: http://www.cblpi.org/programs/bio.cfm?ID=15&#038;type=Speaker</p>
<p>We notice that ID=15 and may be vulnerable.  So we test it by typing: http://www.cblpi.org/programs/bio.cfm?ID=15 and 1=1&#038;type=Speaker</p>
<p>Nothing changes!  Let&#8217;s test it again by typing 1=2: http://www.cblpi.org/programs/bio.cfm?ID=15 and 1=2&#038;type=Speaker</p>
<p>Now a blank page appears, so we know that the ID variable isn&#8217;t being parsed correctly.</p>
<p>Lets figure out what version of MySQL it is using BSI using @@version: http://www.cblpi.org/programs/bio.cfm?ID=15 and substring(@@version,1,1)=5&#038;type=Speaker</p>
<p>If its version 5.xxxx it will show up as true!  Does it? No.  Then lets try 4: http://www.cblpi.org/programs/bio.cfm?ID=15 and substring(@@version,1,1)=4&#038;type=Speaker</p>
<p>And know we know they are using version 4.xxxx of MySQL.</p>
<p>Lets try guessing a table name! http://www.cblpi.org/programs/bio.cfm?ID=15 and (select 1 from USERS limit 0,1)=1&#038;type=Speaker</p>
<p>If table USERS exists, it will return 1 and the statement will be TRUE!  Does it?  No it doesn&#8217;t, but it does give us a nice error page saying it doesn&#8217;t exist, with the table name that we are currently selecting out of (PEOPLE).  </p>
<p>So lets validate the code real quick.  We know PEOPLE does exist, so http://www.cblpi.org/programs/bio.cfm?ID=15 and (select 1 from PEOPLE limit 0,1)=1&#038;type=Speaker should be true.</p>
<p>And it is! The page displays normally.  </p>
<p>You can bruteforce guess the table names, or there are many round about ways of detecting them letter by letter using substring and ascii functions.  And once you figure out where the good information is stored, then you can break into those tables and grab it.  </p>
<p>I&#8217;m not here to give you the exact methods on how to bruteforce it or use char codes, but just to give you the basics on what it is.  Know that you know what it is, protect against it!  How hard is it to check for a space? Add slashes? Check if it is an int?  Guys common, these practices are standard when dealing with forms, why not make them standard when dealing with <em>get</em> variables.  Recently (about 4-6 months ago) HyperVM was found to have a BSI vulnerability and within a couple of days, thousands and thousands of VPS servers were hacked and accounts deleted.  It all could have been prevented with just one line of code.</p>
]]></content:encoded>
			<wfw:commentRss>http://notan00b.com/2010/01/what-is-a-blind-sql-injection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Database Tutorial posted!</title>
		<link>http://notan00b.com/2009/08/wordpress-database-tutorial-posted/</link>
		<comments>http://notan00b.com/2009/08/wordpress-database-tutorial-posted/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 19:18:37 +0000</pubDate>
		<dc:creator>pyr0t3chnician</dc:creator>
				<category><![CDATA[Post]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[creation]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plug-in]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-db.php]]></category>

		<guid isPermaLink="false">http://notan00b.com/?p=190</guid>
		<description><![CDATA[I just created an in depth tutorial that covers the entire wp-db.php file and how WordPress uses it, and how to use it to create plug-ins for WordPress.  It is posted in the tutorials section, here.  Check it out and let me know what you think.
]]></description>
			<content:encoded><![CDATA[<p>I just created an in depth tutorial that covers the entire wp-db.php file and how WordPress uses it, and how to use it to create plug-ins for WordPress.  It is posted in the tutorials section, <a href="http://notan00b.com/tutorials/">here</a>.  Check it out and let me know what you think.</p>
]]></content:encoded>
			<wfw:commentRss>http://notan00b.com/2009/08/wordpress-database-tutorial-posted/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PHP PDO and SQL injections</title>
		<link>http://notan00b.com/2009/08/php-pdo-and-sql-injections/</link>
		<comments>http://notan00b.com/2009/08/php-pdo-and-sql-injections/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 18:22:42 +0000</pubDate>
		<dc:creator>pyr0t3chnician</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bypass]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[injections]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[MsSQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://notan00b.com/?p=179</guid>
		<description><![CDATA[SQL Injections o_O???]]></description>
			<content:encoded><![CDATA[<p>MySQL and MsSQL are huge when it comes to internet sites.  They are probably the easiest databases to set up and the most universal when it comes to internet apps.  The only problem is that programmers are sometimes lazy and forget to think about things like security when it comes to programming the forms and site.  When people are lazy, they leave their sites open to SQL injections.  I don&#8217;t really want to make this an SQL injection tutorial, but just want to touch on it briefly.  Lets start with a standard SQL statement that a form uses to find an Administrator password:<br />
<code>mysql&gt; SELECT * FROM Users WHERE Name='Admin' AND Pass='MyP4ssw0rd';</code><br />
Now if we add a login form and use php, we might have code structured similar to this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$name</span><span style="color: #339933;">=</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$pass</span><span style="color: #339933;">=</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pass'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$sql</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;SELECT * FROM Users WHERE Name='<span style="color: #006699; font-weight: bold;">$name</span>' AND Pass='<span style="color: #006699; font-weight: bold;">$pass</span>'&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This would work perfectly, and would allow people to log in.  It would also allow people to SQL inject it.  What if they typed this in:</p>
<table>
<tr>
<td>Name:</td>
<td>
<input type="text" value="admin"></td>
</tr>
<tr>
<td>Pass:</td>
<td>
<input type="text" value="admin' OR 'x'='x"></td>
</tr>
</table>
<p>
Well our SQL statement ends up looking like this:<br />
<code>SELECT * FROM Users WHERE Name='admin' AND Pass='admin' OR 'x'='x'</code><br />
&#8216;x&#8217;='x&#8217; is a TRUE statement 100% of the time, so as long as &#8216;x&#8217;='x&#8217;, it will pull up all the info you needed, and suddenly you are logged in.  This is probably the easiest SQL injection around, and does work on occasion.  There are hundreds of SQL injections, and a poorly coded site will always be susceptible.  Not only are people able to log into a site as an administrator, but they can display login info using UNION statements.<br />
One other way good programmers tend to get lazy is through their &#8220;GET&#8221; variables.  A lot of times programmers will pass variables in the URL bar: http://www.mysite.com/view.php?id=123.  There is nothing wrong with this, in fact, everyone does it and will continue to do it because it is efficient and easy to do.  The problem comes when people SQL inject that variable: view.php?id=123&#8242; and &#8216;x&#8217;='y.  This particular injection allows a hacker to test your site for susceptibility to injections in the URL bar.  If you didn&#8217;t protect your variables, your SQL statement would look like this if it wasn&#8217;t protected: <code>"SELECT * FROM Info WHERE Id='123' and 'x'='y'"</code>.  If it wasn&#8217;t protected, the hacker would see a page with NO info on it, or an error because &#8216;x&#8217; NEVER equals &#8216;y&#8217; and is a FALSE statement.  If they see a blank page or an error, they know they can continue their attack and eventually gain access to all of your information.</p>
<p>My goal is not to teach you how to hack, but rather how a simple PHP object exists and will help you avoid these types of attacks.  That object is PDO.  It comes standard with the latest releases of PHP and can be used to prevent SQL injections very simply.  PDO is a database object, that allows you to connect to a variety of different databases, send queries, and display the results.  It actually is a bit easier to code than actual mysql in PHP, but it is a complete 180 from what you have been taught using w3schools and tizag.com.  I don&#8217;t really want to get into a tutorial of PDO either because there are quite a few on the internet that explain it much better than I can right now.  I recommend checking out <a href="http://www.phpro.org/tutorials/Introduction-to-PHP-PDO.html">http://www.phpro.org/tutorials/Introduction-to-PHP-PDO.html</a> to get a grip on the basics of how PDO works.  The one thing that this tutorial does NOT explain is the &#8220;prepare&#8221; function.  He only goes into it slightly, but doesn&#8217;t describe what it does exactly.  Prepare() simply checks for all types of quotes and makes sure that no SQL injections can get through.  Here is a quick example:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$mysql_host</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mysql_user</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;root&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mysql_pass</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mysql_database</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;epco&quot;</span><span style="color: #339933;">;</span>
try <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$dbh</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PDO<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mysql:host=<span style="color: #006699; font-weight: bold;">$mysql_host</span>;dbname=<span style="color: #006699; font-weight: bold;">$mysql_database</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$mysql_user</span><span style="color: #339933;">,</span> <span style="color: #000088;">$mysql_pass</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">/*** create the statement ***/</span>
    <span style="color: #000088;">$stmt</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$dbh</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM users WHERE user = :user AND pass = :pass&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">/*** bind the paramaters ***/</span>
    <span style="color: #000088;">$stmt</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">bindParam</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">':user'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> PDO<span style="color: #339933;">::</span><span style="color: #004000;">PARAM_STR</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$stmt</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">bindParam</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">':pass'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pass'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> PDO<span style="color: #339933;">::</span><span style="color: #004000;">PARAM_STR</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">/*** execute the prepared statement ***/</span>
    <span style="color: #000088;">$stmt</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">execute</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">/*** close the database connection ***/</span>
    <span style="color: #000088;">$dbh</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>catch<span style="color: #009900;">&#40;</span>PDOException <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$e</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getMessage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>When we prepare our statement, we use a place-holder that will later assign a variable to.  When that statement is executed, all our quotes are removed or slashed.  <code>$_POST['user']="admin' OR 1=1";</code> typically becomes <code>$_POST['user']="admin\' OR 1=1";</code> and your database is protected from the attacks.</p>
<p>In conclusion, I am not advocating PDO and saying only to use that and nothing else.  I use a database class that is much smaller and does what I need it to do.  I have spoken with other programmers who have created their own class to add/strip slashes, rawurlencode/decode, and htmlspecialcharacters and connect to their databases.  PDO was created as a &#8220;universal&#8221; database object that can do whatever you want it to do with several different databases.  It is awesome and will go a long way to protect your site from SQL injections if used properly.  The prepare statement is simple, but doesn&#8217;t protect against EVERY type of attack.  Don&#8217;t be fooled into a false sense of security just because you are using a PHP object.  XSS, javascript injections, and bruteforce, attacks are all still possible even if you use this class.  Be careful in what you code, and fix any code when the holes are found by users or when you are hacked.</p>
]]></content:encoded>
			<wfw:commentRss>http://notan00b.com/2009/08/php-pdo-and-sql-injections/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wordpress page views hack</title>
		<link>http://notan00b.com/2009/07/wordpress-page-views-hack/</link>
		<comments>http://notan00b.com/2009/07/wordpress-page-views-hack/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 19:54:22 +0000</pubDate>
		<dc:creator>pyr0t3chnician</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[counter]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[view]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://notan00b.com/?p=177</guid>
		<description><![CDATA[I created this pretty quick, and it is by far, not the prettiest thing out there.  This uses an extra table in the MySQL table to keep track of pages that get viewed and how many times they are viewed.  Here is what I did:
Step 1 &#8211; Create a new table!
Go to your [...]]]></description>
			<content:encoded><![CDATA[<p>I created this pretty quick, and it is by far, not the prettiest thing out there.  This uses an extra table in the MySQL table to keep track of pages that get viewed and how many times they are viewed.  Here is what I did:</p>
<p><b>Step 1 &#8211; Create a new table!</b><br />
Go to your MySQL database and create a table called &#8220;wp_counter&#8221; with 2 fields: Post_Id and Count.  Both are Int with length 10.  Here is the SQL code you can copy and paste to make it a bit shorter:<br />
<code>CREATE TABLE `wp_counter` (`Post_Id` INT( 10 ) NOT NULL , `Count` INT( 10 ) NOT NULL) </code></p>
<p><b>Step 2 &#8211; Editing post-template.php</b><br />
This is the file that is used to display your posts (not the snippets on your front page, but full out posts).  It is located in the &#8220;wp-includes&#8221; directory.<br />
Open post-template.php for editing.<br />
Search for a function called &#8220;<code>the_content()</code>&#8220;.  It typically starts on line 165 should look like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>165
166
167
168
169
170
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #000088;">$more_link_text</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #000088;">$stripteaser</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more_file</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> get_the_content<span style="color: #009900;">&#40;</span><span style="color: #000088;">$more_link_text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$stripteaser</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more_file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">']]&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">']]&amp;gt;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>So what we want to do is make it so that every time it shows the content, it will update the count and display it to the user.  So we are going to change that function to look like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>165
166
167
168
169
170
171
172
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #000088;">$more_link_text</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #000088;">$stripteaser</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more_file</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> get_the_content<span style="color: #009900;">&#40;</span><span style="color: #000088;">$more_link_text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$stripteaser</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more_file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">']]&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">']]&amp;gt;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
	update_count<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;&lt;small&gt;&lt;i&gt;Views: &quot;</span><span style="color: #339933;">.</span>get_content_views<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/i&gt;&lt;/small&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>And immediately following that, we are going to add a couple functions:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> update_count<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">,</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM wp_counter WHERE Post_Id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">insert</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;wp_counter&quot;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Post_Id'</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Count'</span><span style="color: #339933;">=&gt;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%d'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'%d'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_row</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM wp_counter WHERE Post_Id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>ARRAY_A<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$count</span><span style="color: #339933;">=</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Count'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">update</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_counter'</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Count'</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$count</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Post_Id'</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%d'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%d'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> content_views<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">,</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_row</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM wp_counter WHERE Post_Id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>ARRAY_A<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Count'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>That&#8217;s it!  So your finalized post-template.php will look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #000088;">$more_link_text</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #000088;">$stripteaser</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more_file</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> get_the_content<span style="color: #009900;">&#40;</span><span style="color: #000088;">$more_link_text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$stripteaser</span><span style="color: #339933;">,</span> <span style="color: #000088;">$more_file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">']]&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">']]&amp;gt;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
	update_count<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;&lt;small&gt;&lt;i&gt;Views: &quot;</span><span style="color: #339933;">.</span>get_content_views<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/i&gt;&lt;/small&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> update_count<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">,</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM wp_counter WHERE Post_Id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">insert</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;wp_counter&quot;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Post_Id'</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Count'</span><span style="color: #339933;">=&gt;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%d'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'%d'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_row</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM wp_counter WHERE Post_Id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>ARRAY_A<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$count</span><span style="color: #339933;">=</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Count'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">update</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_counter'</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Count'</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$count</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Post_Id'</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%d'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%d'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> content_views<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">,</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_row</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM wp_counter WHERE Post_Id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>ARRAY_A<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Count'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> get_content_views<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">,</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_row</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prepare</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM wp_counter WHERE Post_Id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>ARRAY_A<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Count'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Now every time someone visits the page, they will see how many other people have viewed that page!</p>
]]></content:encoded>
			<wfw:commentRss>http://notan00b.com/2009/07/wordpress-page-views-hack/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Login Script Posted</title>
		<link>http://notan00b.com/2009/07/login-script-posted/</link>
		<comments>http://notan00b.com/2009/07/login-script-posted/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 00:02:41 +0000</pubDate>
		<dc:creator>pyr0t3chnician</dc:creator>
				<category><![CDATA[Post]]></category>
		<category><![CDATA[customizable]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://notan00b.com/?p=175</guid>
		<description><![CDATA[Check out the code bin for a simple, very customizable login script! Code Bin
]]></description>
			<content:encoded><![CDATA[<p>Check out the code bin for a simple, very customizable login script! <a href="/code-bin/">Code Bin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://notan00b.com/2009/07/login-script-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s Online Script Posted!</title>
		<link>http://notan00b.com/2009/07/whos-online-script-posted/</link>
		<comments>http://notan00b.com/2009/07/whos-online-script-posted/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 01:41:28 +0000</pubDate>
		<dc:creator>pyr0t3chnician</dc:creator>
				<category><![CDATA[Post]]></category>
		<category><![CDATA[bin]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[whos]]></category>

		<guid isPermaLink="false">http://notan00b.com/?p=159</guid>
		<description><![CDATA[I was messing around and realized there weren&#8217;t a lot of these around that were very simple to integrate into a website.  It is VERY simple.  I may go more advanced in the future, but right now it does the basics -&#62; tells how many people are online.  Because it is simple, it [...]]]></description>
			<content:encoded><![CDATA[<p>I was messing around and realized there weren&#8217;t a lot of these around that were very simple to integrate into a website.  It is VERY simple.  I may go more advanced in the future, but right now it does the basics -&gt; tells how many people are online.  Because it is simple, it should be relatively easy to manipulate if you wanted it to do more.  I may form it into a class and create extensions to do other things that people might want.  If you have any questions on how to use it, just post a comment and I will do what I can to give you guidance or post a solution.</p>
<p>It is posted in the Code Bin: <a title="Code Bin" href="http://notan00b.com/code-bin/">Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://notan00b.com/2009/07/whos-online-script-posted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial</title>
		<link>http://notan00b.com/2009/07/php-tutorial/</link>
		<comments>http://notan00b.com/2009/07/php-tutorial/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 18:26:08 +0000</pubDate>
		<dc:creator>pyr0t3chnician</dc:creator>
				<category><![CDATA[Post]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[handling]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.net]]></category>
		<category><![CDATA[sockets]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://notan00b.com/?p=73</guid>
		<description><![CDATA[I am going to be starting a PHP tutorial pretty soon.  It will be very basic and easy to read.  I will hopefully have part 1 up today in the Tutorial section.  I want to cover the basics, and eventually files, mysql, xml, sockets, and maybe some more advanced options.  We will see.  If there [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to be starting a PHP tutorial pretty soon.  It will be very basic and easy to read.  I will hopefully have part 1 up today in the Tutorial section.  I want to cover the basics, and eventually files, mysql, xml, sockets, and maybe some more advanced options.  We will see.  If there is anything you would like to see covered in detail in my tutorials, post a comment, or shoot me an email.</p>
]]></content:encoded>
			<wfw:commentRss>http://notan00b.com/2009/07/php-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
