<?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>Studio Lounge &#124; Adam Patterson &#187; Tutorials</title>
	<atom:link href="http://www.studiolounge.net/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.studiolounge.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 18 Jun 2010 16:09:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>PHP Frameworks &#8211; Intellisense for Aptana</title>
		<link>http://www.studiolounge.net/2009/06/06/php-frameworks-intellisense-for-aptana/</link>
		<comments>http://www.studiolounge.net/2009/06/06/php-frameworks-intellisense-for-aptana/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 19:22:39 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[500]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flourish]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Full]]></category>
		<category><![CDATA[Guages]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IA]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Intellisense]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[Modern]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[Old]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Select]]></category>
		<category><![CDATA[Store]]></category>
		<category><![CDATA[studiolounge]]></category>
		<category><![CDATA[tent]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=1935</guid>
		<description><![CDATA[<p>This will be something that will knock your socks off!</p>
<p>Aptana has what is called Intellisense, this is nothing new. Many modern IDE&#8217;s have Intellisense for standard HTML, XML, CSS, JavaScript, and other languages like PHP, and Ruby.</p>
<h1>Setting up a Library Location</h1>
<p>This will be a place where you can store your various frameworks. I store the frameworks in there own folders separate from the production scripts for Three reasons. One, I can keep versions of my library&#8217;s. And Two so they are independent of the production application. And Three I can update all the Frameworks with SVN.</p>
<ul></ul><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2009/06/06/php-frameworks-intellisense-for-aptana/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP + MySQL = CSV</title>
		<link>http://www.studiolounge.net/2009/04/03/php-mysql-csv/</link>
		<comments>http://www.studiolounge.net/2009/04/03/php-mysql-csv/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 17:30:14 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=1301</guid>
		<description><![CDATA[<p>This is basically the exact same code I used in my Addressbook to export all of the contact information. Its good to note that a CSV is not a full backup, while you can restore the information in a Database you will not restore the structure.</p>
<p>A CSV file is commonly used to export information for manipulation, or importing into other applications. </p>
<p>You could export all of your contacts fro example and import them into Google contacts.</p>
<h2>So what is a CSV file?</h2>
<blockquote><p>
A file format is a particular way to encode information for storage in a computer</p></blockquote><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2009/04/03/php-mysql-csv/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PHP: Handy little Snippet for Multiline Text Box</title>
		<link>http://www.studiolounge.net/2009/03/30/php-handy-little-snippet-for-multiline-text-box/</link>
		<comments>http://www.studiolounge.net/2009/03/30/php-handy-little-snippet-for-multiline-text-box/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 20:56:33 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Explode]]></category>
		<category><![CDATA[Implode]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Slice]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=1528</guid>
		<description><![CDATA[<p>This is a quick and dirty little snippet. I had a case where I had to fill in a Subject Line and a message with only one multi line text box. It wasn&#8217;t practice to have a hard coded subject line as it would be the same for every message or in my base bug.</p>
<p>Have a look at the code, I will explain what is going on below.</p>
<pre class="brush: php;">
&#60;?
// Get the message String
$rawString = $_POST['comments'];

// Split the string into pieces for processing
$pieces = explode(&#34;\n&#34;, $rawString);

// First element is the subject line</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2009/03/30/php-handy-little-snippet-for-multiline-text-box/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PHP and cURL</title>
		<link>http://www.studiolounge.net/2009/03/28/php-and-curl/</link>
		<comments>http://www.studiolounge.net/2009/03/28/php-and-curl/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 04:15:10 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[HelpSpot]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Unfuddle]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=1351</guid>
		<description><![CDATA[<p>cURL or Client URL Library is a very powerful tool, and its something that i recently had to use while working with two APIs one for <a href="http://unfuddle.com/">Unfuddle</a> and one for <a href="http://www.userscape.com/products/helpspot/">HelpSpot</a>.</p>
<blockquote><p>PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP&#8217;s ftp extension), HTTP form based upload, proxies,</p></blockquote><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2009/03/28/php-and-curl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Graphics for the Web</title>
		<link>http://www.studiolounge.net/2009/03/22/graphics-for-the-web/</link>
		<comments>http://www.studiolounge.net/2009/03/22/graphics-for-the-web/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 17:09:19 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Format]]></category>
		<category><![CDATA[GIF]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[PNG]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=1304</guid>
		<description><![CDATA[<p>When you first start to learn about Graphic design from a technical point you learn about Format. In graphic design there are many different file formats created by even more graphic editors. They all have there Pros and there Cons.</p>
<p>When you are working for the web you really only have three options: GIF, JPEG and PNG. They all server there purpose and are great at there jobs. The trick is to learn how each format can best to its job and when.<br />
<span id="more-1304"></span></p>
<h4>JPEG/JPG</h4>
<p><a href="http://en.wikipedia.org/wiki/JPEG">JPEG</a> stands for the Joint Photographic Experts Group or simply JPG. The group&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2009/03/22/graphics-for-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular Expression for URLs using ereg_replace</title>
		<link>http://www.studiolounge.net/2009/02/15/regular-expression-for-url-using-ereg_replace/</link>
		<comments>http://www.studiolounge.net/2009/02/15/regular-expression-for-url-using-ereg_replace/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 21:01:40 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ereg_replace]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=1379</guid>
		<description><![CDATA[<p>I had a heck of a time finding a <a href="http://en.wikipedia.org/wiki/Regular_expression">Regular Expression</a> to parse URLs in a body of text. The beauty with this expression is its flexibility, it will handle a http or https url with or without www. and it&#8217;s fine with tinyurls.</p>
<pre class="brush: php;">
// $subject contains a body of text with non html URLs
$text = ereg_replace(&#34;[[:alpha:]]+://[^&#60;&#62;[:space:]]+[[:alnum:]/]&#34;, &#34;&#60;a href=\&#34;\\0\&#34;&#62;\\0&#60;/a&#62;&#34;, $subject);
</pre>
<p>This is posted more as a snippet because is spent so long trying to find one that would work.</p>
<p><strong>$subject</strong> will be the body of text containing flat text urls. <strong>$text</strong> will now contain&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2009/02/15/regular-expression-for-url-using-ereg_replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP&#8217;s Memory Usage</title>
		<link>http://www.studiolounge.net/2009/02/10/phps-memory-usage/</link>
		<comments>http://www.studiolounge.net/2009/02/10/phps-memory-usage/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 20:23:04 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=1367</guid>
		<description><![CDATA[<p>This is a handy little Snippet that goes well with <a href="http://www.studiolounge.net/2007/03/21/php-microtime/">PHP Microtime</a>. Not only are we concerned with our scripts execution time but we also want to make sure we are not using an exorbitant amount of memory in the process.</p>
<p>At the top of your script lets place the code that will start PHP&#8217;s Micro time.</p>
<pre class="brush: php;">
$time_start = microtime(true);
</pre>
<p>At the bottom of your page, just before the &#8220;&#8221; tag we will put the Code that will calculate the execution time as well as how much memory was used to execute the script.</p>
<pre<p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2009/02/10/phps-memory-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raw &#8211; Black and White Conversion Process</title>
		<link>http://www.studiolounge.net/2008/04/23/raw-black-and-white-conversion-process/</link>
		<comments>http://www.studiolounge.net/2008/04/23/raw-black-and-white-conversion-process/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 15:45:55 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[100]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Auto]]></category>
		<category><![CDATA[Black]]></category>
		<category><![CDATA[black and white]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[Colour]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[IA]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[Light]]></category>
		<category><![CDATA[Mad]]></category>
		<category><![CDATA[Photo]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[photoshop cs3]]></category>
		<category><![CDATA[Playing]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[RAW]]></category>
		<category><![CDATA[studiolounge]]></category>
		<category><![CDATA[Table]]></category>
		<category><![CDATA[tent]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[White]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=563</guid>
		<description><![CDATA[<p><img class="left" title="fine-tomato-bw" src="http://www.studiolounge.net/wp-content/uploads/2008/04/fine-tomato-bw-150x100.jpg" alt="" width="150" height="100" /> Not to long ago i made a tutorial on how to Creating Black and White Images in Photoshop CS3. This tutorial though centered around JPG was will an nondestructive method and has worked well for me in the past. But there are many methods in creating black and white images. Some involve a bit more understanding of colour and manipulating the colour channels in Photoshop. The method i have been using lately is done with RAW photos in Adobe Camera Raw 4.4.1.</p>
<div class="download">Download the Source RAW file <a href="http://www.studiolounge.net/files/fineArtTomatoes">here</a>.</div>
<p><span id="more-563"></span><br />
<strong>Step 1:</strong></p>
<p>First thing is first, we will&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2008/04/23/raw-black-and-white-conversion-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Admin Comment Highlighting for WordPress</title>
		<link>http://www.studiolounge.net/2008/04/02/the-real-admin-highlight-for-wordpress/</link>
		<comments>http://www.studiolounge.net/2008/04/02/the-real-admin-highlight-for-wordpress/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 16:45:34 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Light]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Public]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/?p=551</guid>
		<description><![CDATA[<p>I tried a few examples from the internet and neither seamed to work properly so i adapted the two that i found.</p>
<p><strong>First things first:</strong><br />
Open your comments.php file and look for a line like this.</p>
<pre class="brush: php;">
&#60;li class=&#34;&#60;?php echo $oddcomment; ?&#62;&#34; id=&#34;comment-&#60; ?php comment_ID() ?&#62;&#34;&#62;
&#60;/li&#62;</pre>
<p><span id="more-551"></span><br />
<strong>Second:</strong><br />
Simply past the following code replacing the PHP &#8220;< ?php echo $oddcomment; ?>&#8220;. Replace my@mail.com with your email that your wordpress admin account uses.</p>
<div class="note">Note: This email address will not be viewable by the public as it is parsed in the php, it will not be displayed.</div>
<pre<p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2008/04/02/the-real-admin-highlight-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Sensitive CSS with PHP</title>
		<link>http://www.studiolounge.net/2008/02/20/time-sensitive-css-with-php/</link>
		<comments>http://www.studiolounge.net/2008/02/20/time-sensitive-css-with-php/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 19:50:05 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2008/02/20/time-sensitive-css-with-php</guid>
		<description><![CDATA[<p>I was using this technique on my site for a while and realized that i actually liked the evening image you currently see in the header of my site.</p>
<p>The basic principle behind this tutorial is to allow a CSS file to be dynamic in the sense that it can use logic to define certain images or even colour schemes if you wish.  The User will never see any JavaScrip so if they have Javascript dissabled your design will still come through.</p>
<p>For my example i used a div with the class of headerImage, simple enough.  I then created a&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2008/02/20/time-sensitive-css-with-php/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Creating Black and White Images in Photoshop CS3</title>
		<link>http://www.studiolounge.net/2007/10/15/creating-black-and-white-images-in-photoshop-cs3/</link>
		<comments>http://www.studiolounge.net/2007/10/15/creating-black-and-white-images-in-photoshop-cs3/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 22:00:33 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Black]]></category>
		<category><![CDATA[black and white]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Colour]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[IA]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[Light]]></category>
		<category><![CDATA[Lost]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[Photo]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[photoshop cs3]]></category>
		<category><![CDATA[Sample]]></category>
		<category><![CDATA[Select]]></category>
		<category><![CDATA[studiolounge]]></category>
		<category><![CDATA[tent]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[White]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2007/10/15/creating-black-and-white-images-in-photoshop-cs3</guid>
		<description><![CDATA[<p><a href='http://www.studiolounge.net/?attachment_id=399'  title='bw-finished'><img src='http://www.studiolounge.net/wp-content/uploads/2007/10/bw-finished-150x150.jpg' alt='bw-finished' class="left"/></a> This tutorial will show you how to create amazing black and white images using the new CS3 Black and White Adjustment Layer in Photoshop.  This is relatively simple to do, and depending on what you want the final product to look like you wont need to mess around with layers and levels.</p>
<p>Black and white seams to capture more emotion and can give a lot to the viewer.  It also helps show the subtle details that might be lost in colour photos.</p>
<p><span id="more-394"></span></p>
<p class="clearfix">
</p><p>First thing we need to do is open up an image. i have included&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2007/10/15/creating-black-and-white-images-in-photoshop-cs3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress wp_list_pages Hack</title>
		<link>http://www.studiolounge.net/2007/07/11/wordpress-wp_list_pages-hack/</link>
		<comments>http://www.studiolounge.net/2007/07/11/wordpress-wp_list_pages-hack/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 21:29:24 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Natural]]></category>
		<category><![CDATA[Old]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Post]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2007/07/11/wordpress-wp_list_pages-hack/</guid>
		<description><![CDATA[<p>I&#8217;m working on a template that was designed to have Tabs and I really didn&#8217;t think to much of it, I naturally assumed that it would be possible to add a &#60;span ? tag around the title in the site navigation. Um yea not true. After a bit of searching I found a line in the classes.php in the wp-includes folder that looks like this (around line 517 in version 2.2):</p>
<pre class="brush: php;">
$output .= $indent . '&#60;li class=&#34;' . $css_class . '&#34;&#62;&#60;a href=&#34;' . get_page_link($page-&#62;ID) . '&#34; title=&#34;' . attribute_escape(apply_filters('the_title', $page-&#62;post_title)) . '&#34;&#62;' . apply_filters('the_title', $page-&#62;post_title) . '&#60;/a&#62;';</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2007/07/11/wordpress-wp_list_pages-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google HTTP Geocoding</title>
		<link>http://www.studiolounge.net/2007/06/22/google-http-geocoding/</link>
		<comments>http://www.studiolounge.net/2007/06/22/google-http-geocoding/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 19:42:56 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Addressbook]]></category>
		<category><![CDATA[Angry]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Explode]]></category>
		<category><![CDATA[Format]]></category>
		<category><![CDATA[Full]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[IA]]></category>
		<category><![CDATA[Lead]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[nForm]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Select]]></category>
		<category><![CDATA[Store]]></category>
		<category><![CDATA[studiolounge]]></category>
		<category><![CDATA[tent]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2007/06/22/google-http-geocoding/</guid>
		<description><![CDATA[<p><a href='http://www.studiolounge.net/2007/06/22/google-http-geocoding/' title='Google Maps API'><img src='http://www.studiolounge.net/wp-content/uploads/2007/06/google-api.png' alt='Google Maps API' class="left" /></a> I have been doing a lot of searching in regards to Google Maps and information on there API.  In my <a href="http://www.mapleflow.com/demo/addressbook2/" target="_blank">Addressbook</a> I had a some what dynamic but clumsy way of showing some ones location.</p>
<p>So when I would pull the information I would use a PHP function called &#8220;urlencode&#8221; it basically converts spaces to underscores so your URL won’t explode and make Google angry.</p>
<p>This works fine but I was opening a new window that I had no control over.  so that’s when I began to look into the API and after a bit of looking&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2007/06/22/google-http-geocoding/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Php Microtime</title>
		<link>http://www.studiolounge.net/2007/03/21/php-microtime/</link>
		<comments>http://www.studiolounge.net/2007/03/21/php-microtime/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 14:09:42 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Microtime]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2007/03/21/php-microtime/</guid>
		<description><![CDATA[<p>This is a handy little snippet of code for any one that is trying to optimize there code.  I just used this in my <a href="http://www.studiolounge.net/2007/01/28/addressbook/">Addressbook</a> to see how the pages were loading.<br />
<strong>microtime</strong> — Return current Unix timestamp with microseconds</p>
<p>There isn&#8217;t much to this script, we are going to assign <em>$time-start</em> with a value (start time).  Then we would place your code you want to time next.  Once the script has executed we then assign a value to <em>$time-end</em>.  Simple math will tell us that subtracting <em>$time-start</em> from <em>$time-en</em>d will give us the difference, Thus your execution&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2007/03/21/php-microtime/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Php User Login With Sessions</title>
		<link>http://www.studiolounge.net/2007/03/07/php-user-login-with-sessions/</link>
		<comments>http://www.studiolounge.net/2007/03/07/php-user-login-with-sessions/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 18:13:57 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Sessions]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2007/03/07/php-user-login-with-sessions/</guid>
		<description><![CDATA[<p>This is a tutorial more or less on principle for sessions with PHP.  I used this chunk of code in my Address Book and Spoke Calculator.  The source code is available to download and its more or less together for you to look at. its not a working micro site. the components however should work.</p>
<p><strong>Here is the work flow that i used:</strong></p>
<ul>
<li>Login Form</li>
<li>Check Login against Database</li>
<li>Allow if correct information was entered.</li>
<li>Deny if wrong information was entered</li>
<li>Once Logged-in allow user to log out.</li>
<li>If some one goes to a page in history test if</li></ul><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2007/03/07/php-user-login-with-sessions/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Php Switch with a cookie</title>
		<link>http://www.studiolounge.net/2007/01/06/php-switch/</link>
		<comments>http://www.studiolounge.net/2007/01/06/php-switch/#comments</comments>
		<pubDate>Sat, 06 Jan 2007 21:22:30 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2007/01/06/php-switch/</guid>
		<description><![CDATA[<p>The Php Switch is a neat little script. it can be used for a lot of different things. but today we will create a script that will let a user change what style sheet they want and the script will create a cookie to remember the users input.</p>
<p>we can start off by making a few different style sheets. All i did is changed the background colour, you could change whatever you want with these files.</p>
<p><span id="more-202"></span></p>
<p><strong>step 1</strong>: the css</p>
<pre class="brush: css;">
body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #0066CC;
}

a:link, a:active, a:visited {
	font-size: 10px;
	color:</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2007/01/06/php-switch/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Horizontal Navigation</title>
		<link>http://www.studiolounge.net/2006/10/29/horazontal-navigation/</link>
		<comments>http://www.studiolounge.net/2006/10/29/horazontal-navigation/#comments</comments>
		<pubDate>Sun, 29 Oct 2006 00:06:13 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[500]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[studiolounge]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[US]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2006/10/29/horazontal-navigation/</guid>
		<description><![CDATA[<p>Horizontal navigation is huge on the internet and the easiest way to do it is with a little bit of CSS. The first step is to make your navigation list:</p>
<p><span id="more-139"></span></p>
<pre class="brush: xml;">
&#60;div id=&#34;navigation&#34;&#62;
&#60;ul id=&#34;navlist&#34;&#62;
&#60;li&#62;&#60;a title=&#34;Home&#34; href=&#34;step-1.php&#34;&#62;Home&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a title=&#34;Link1&#34; href=&#34;step-1.php?title=link1&#34;&#62;Link1&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a title=&#34;Link2&#34; href=&#34;step-1.php?title=link2&#34;&#62;Link2&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a title=&#34;Link3&#34; href=&#34;step-1.php?title=link3&#34;&#62;Link3&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;
&#60;/div&#62;
</pre>
<blockquote><p>
Example (<a title="Step 1" target="_blank" href="http://www.studiolounge.net/files/h-nav/step-1.php">step1</a>)
</p>
</blockquote>
<pre class="brush: css;">
/*       Navigation      */

#navigation {
height: 20px;
font-size: 12px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 10px;
width: 500px;
float: left;
background-color: #333333;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 10px;
margin-left: 0px;}#navlist {
margin: 0;
padding:</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2006/10/29/horazontal-navigation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP if Statement</title>
		<link>http://www.studiolounge.net/2006/10/28/if-statement/</link>
		<comments>http://www.studiolounge.net/2006/10/28/if-statement/#comments</comments>
		<pubDate>Sat, 28 Oct 2006 07:53:51 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.studiolounge.net/2006/10/28/if-statement/</guid>
		<description><![CDATA[<p>A lot can be done with a basic if statement, this is why it is so important to programmers.  its boils down to basic logic. &#8220;if something is true then do it., if not do something else.&#8221;</p>
<p>here is a quick example:</p>
<pre class="brush: php;">
$name = &#34;Adam&#34;;
if ( $name == &#34;Adam&#34; ) {
echo &#34;Hello Adam!&#34;; }
echo &#34;Welcome to my homepage!&#34;;
</pre>
<p><span id="more-136"></span>This is what would display:</p>
<blockquote><p><span>Hello Adam!<br />
Welcome to my homepage!</span></p></blockquote>
<p>If we had a statement that was equal to false then we would see this:</p>
<pre class="brush: php;">
$name = &#34;Bob&#34;;
if (</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2006/10/28/if-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Theme</title>
		<link>http://www.studiolounge.net/2006/02/27/wordpress-theme/</link>
		<comments>http://www.studiolounge.net/2006/02/27/wordpress-theme/#comments</comments>
		<pubDate>Mon, 27 Feb 2006 15:39:37 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Drive]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[patterson]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Post]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Select]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[studiolounge]]></category>
		<category><![CDATA[tent]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://studiolounge.net/2006/02/27/wordpress-theme/</guid>
		<description><![CDATA[<p>A lot of people for the first time opening up WordPress can be over come by all of the stuff that there is to a theme. I like many others, one tip I can offer is to open up your <em>header.php footer.php </em>and<em> sidebar.php</em> and insert a php comment or an html comments, making sure not to put and html comment at the top of the header page, it will cause your problems later on down the road.</p>
<p><span id="more-82"></span></p>
<p>what i then do after that is viewthe source code in my visually un altered WordPress theme. open up your favorite&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2006/02/27/wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Php Lister</title>
		<link>http://www.studiolounge.net/2005/12/09/php-lister/</link>
		<comments>http://www.studiolounge.net/2005/12/09/php-lister/#comments</comments>
		<pubDate>Fri, 09 Dec 2005 15:05:44 +0000</pubDate>
		<dc:creator>Adam Patterson</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IA]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[Old]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Public]]></category>
		<category><![CDATA[Remember]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[studiolounge]]></category>
		<category><![CDATA[tent]]></category>
		<category><![CDATA[US]]></category>

		<guid isPermaLink="false">http://studiolounge.net/news/2005/12/09/php-lister/</guid>
		<description><![CDATA[<p>Let’s create a file lister that will go perfect with an upload script that will come later on. First well make a variable (<strong>$maindir</strong>) this is the location on your web server you want to list.</p>
<p>Now we us another variable (<strong>$mydir</strong>) and give it a opendir handle, now opendir is to be used with closdir as well, so remember this.</p>
<p>We also don’t want to show all the files, so we create another variable (<strong>$exlude</strong>) we make it an array and put in things like the name of the file or anyfile you dont want listed, in this example&#8230;</p>]]></description>
		<wfw:commentRss>http://www.studiolounge.net/2005/12/09/php-lister/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
