<?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>The Code Cave &#187; PHP</title>
	<atom:link href="http://thecodecave.com/category/tips-techniques-and-technologies/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecodecave.com</link>
	<description>Cold storage before my best ideas melt away...</description>
	<lastBuildDate>Tue, 22 Jun 2010 17:26:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>How do you get the current directory name in PHP?</title>
		<link>http://thecodecave.com/2009/07/01/how-do-you-get-the-current-directory-name-in-php/</link>
		<comments>http://thecodecave.com/2009/07/01/how-do-you-get-the-current-directory-name-in-php/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 04:00:05 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[directory name]]></category>
		<category><![CDATA[getcwd]]></category>
		<category><![CDATA[working directory]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/?p=644</guid>
		<description><![CDATA[I ran into a situation where I wanted to get the name of the directory I was in, in PHP. To be clear, I didn&#8217;t want the full path, just the directory/folder name To be clear, if I was working in the directory: /home/username/public_html/addonname I wanted to have addonname returned. I worked out two solutions. [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2009/07/01/how-do-you-get-the-current-directory-name-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Quick Tip: Fixing the number of comments per post</title>
		<link>http://thecodecave.com/2009/01/07/fixing-wp-comments-per-post/</link>
		<comments>http://thecodecave.com/2009/01/07/fixing-wp-comments-per-post/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 20:01:05 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress PHP MySQL]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/wordpress-quick-tip-fixing-the-number-of-comments-per-post/</guid>
		<description><![CDATA[For various reasons, sometimes the number of comments shown under the title of the post may not match the number of actual comments displayed under the post. Here is a simple SQL statement that will resolve the issue: update `wp_posts` set comment_count = (select count(*) from wp_comments WHERE `comment_post_ID` = `ID` and comment_approved = '1') [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2009/01/07/fixing-wp-comments-per-post/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>PHPMyAdmin announces drop of PHP 4 support.</title>
		<link>http://thecodecave.com/2007/10/02/phpmyadmin-announces-drop-of-php-4-support/</link>
		<comments>http://thecodecave.com/2007/10/02/phpmyadmin-announces-drop-of-php-4-support/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 22:43:36 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 4]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article460</guid>
		<description><![CDATA[I was just over at the PHPMyAdmin site and saw this quote:  Welcome to phpMyAdmin 2.11, which will probably be the last series supporting PHP 4. Notice the &#8221;probably&#8221; stuck in there.  They are testing the waters. If phpMyAdmin is dropping the whole PHP 4 line, it just might push the WordPress adoption time a bit further.  Where phpMyAdmin goes, I have to think,  the ISPs will not be slow to follow.]]></description>
		<wfw:commentRss>http://thecodecave.com/2007/10/02/phpmyadmin-announces-drop-of-php-4-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to have a central VCL for PHP location for all your websites</title>
		<link>http://thecodecave.com/2007/04/03/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/</link>
		<comments>http://thecodecave.com/2007/04/03/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 04:52:01 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Delphi for PHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article366</guid>
		<description><![CDATA[I have a number of sites that on which I want to use the VCL for PHP library components with Delphi for PHP creations.  I don&#8217;t want to waste uneeded space for a bazillion copies of the VCL.  As far as that goes, I don&#8217;t want to have to sit through the deployment wizard every time either. You could edit PHP.ini and [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2007/04/03/how-to-have-a-central-vcl-for-php-location-for-all-your-websites/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Delphi for PHP Article 3: A Brief History of Time and Delphi for PHP</title>
		<link>http://thecodecave.com/2007/03/20/delphi-for-php-article-3-a-brief-history-of-time-and-delphi-for-php/</link>
		<comments>http://thecodecave.com/2007/03/20/delphi-for-php-article-3-a-brief-history-of-time-and-delphi-for-php/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 19:35:56 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Astro]]></category>
		<category><![CDATA[Borland]]></category>
		<category><![CDATA[CodeGear]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Delphi for PHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article349</guid>
		<description><![CDATA[When I was first fiddling around with the beta test stuff for Delphi for PHP, and before I&#8217;d gotten BetaBlogger status, I&#8217;d put together a post with what history I&#8217;d been able to scrounge about D4PHP from the WayBack Machine and Google.   I&#8217;d never gotten around to posting what I&#8217;d found.  Before it disappears forever [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2007/03/20/delphi-for-php-article-3-a-brief-history-of-time-and-delphi-for-php/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Delphi for PHP Article 2: A Lazy Sunday (Video)</title>
		<link>http://thecodecave.com/2007/03/18/delphi-for-php-article-2-a-lazy-sunday-video/</link>
		<comments>http://thecodecave.com/2007/03/18/delphi-for-php-article-2-a-lazy-sunday-video/#comments</comments>
		<pubDate>Sun, 18 Mar 2007 17:51:47 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Astro]]></category>
		<category><![CDATA[Borland]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Delphi for PHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article347</guid>
		<description><![CDATA[OK, I just got back from church and I am stuffed from the three bowls of soup and a huge salad.  So, I am feeling lazy, but I still want to get a Delphi for PHP article out (since I have a limited exclusion from my NDA and am alowed to discuss such matters or [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2007/03/18/delphi-for-php-article-2-a-lazy-sunday-video/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
<enclosure url="http://www.thecodecave.com/mov/rundbdemos.wmv" length="7349754" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>The Delphi for PHP Beta Bloggers are on their way!</title>
		<link>http://thecodecave.com/2007/03/17/the-delphi-for-php-beta-bloggers-are-on-their-way/</link>
		<comments>http://thecodecave.com/2007/03/17/the-delphi-for-php-beta-bloggers-are-on-their-way/#comments</comments>
		<pubDate>Sat, 17 Mar 2007 10:00:22 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Astro]]></category>
		<category><![CDATA[Borland]]></category>
		<category><![CDATA[CodeGear]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Delphi for PHP]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article345</guid>
		<description><![CDATA[I was granted my Delphi for PHP BetaBlogger priveledges back on March 1.  I was the first to have that priveledge, but it was done specificaly so that I could have discussions with the WordPress folks at Automattic regarding a possible joint CodeGear/WordPress project for the 2007 Google Summer of Code™.  Unfortunately, with everyone crunching for possible product [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2007/03/17/the-delphi-for-php-beta-bloggers-are-on-their-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Delphi for PHP Article 1: A Video Walk Through</title>
		<link>http://thecodecave.com/2007/03/10/delphi-for-php-article-1-a-video-walk-through/</link>
		<comments>http://thecodecave.com/2007/03/10/delphi-for-php-article-1-a-video-walk-through/#comments</comments>
		<pubDate>Sat, 10 Mar 2007 22:30:16 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Astro]]></category>
		<category><![CDATA[Borland]]></category>
		<category><![CDATA[CodeGear]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article340</guid>
		<description><![CDATA[Rumors have been flying around for the last month about Borland producing a PHP product. &#8220;PHP? Are they nuts?&#8221; some said, &#8220;Concentrate on what you know! Are you trying to create another Kylix just to have it fade away to nothing?&#8221; Needless to say, I was a bit more optimistic than that&#8230; I mean come [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2007/03/10/delphi-for-php-article-1-a-video-walk-through/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
<enclosure url="http://www.TheCodeCave.com/mov/d4php1.wmv" length="4500422" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>Build your own spam filter with PHP and DNSBLs</title>
		<link>http://thecodecave.com/2006/12/02/build-your-own-spam-filter-with-php-and-dnsbls/</link>
		<comments>http://thecodecave.com/2006/12/02/build-your-own-spam-filter-with-php-and-dnsbls/#comments</comments>
		<pubDate>Sat, 02 Dec 2006 17:04:58 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article288</guid>
		<description><![CDATA[Are you tired of sorting through SPAM?  This post shows you how to implement a free SPAM filter that allows you to use the power of your webserver to eliminate 98% of the spam that comes to your email accounts.  Fully documented PHP source code is included.]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/12/02/build-your-own-spam-filter-with-php-and-dnsbls/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How does ROT13 encryption work?</title>
		<link>http://thecodecave.com/2006/12/01/how-does-rot13-encryption-work/</link>
		<comments>http://thecodecave.com/2006/12/01/how-does-rot13-encryption-work/#comments</comments>
		<pubDate>Sat, 02 Dec 2006 02:48:27 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article289</guid>
		<description><![CDATA[I&#8217;ve added a new page that demonstrates ROT 13 encryption. You can see it here: http://ROT13.TheCodeCave.com]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/12/01/how-does-rot13-encryption-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How not to query a Quake, Halflife, RtCW, FarCry game server status via PHP&#8230;</title>
		<link>http://thecodecave.com/2006/08/03/how-not-to-query-a-quake-halflife-rtcw-farcry-game-server-status-via-php/</link>
		<comments>http://thecodecave.com/2006/08/03/how-not-to-query-a-quake-halflife-rtcw-farcry-game-server-status-via-php/#comments</comments>
		<pubDate>Thu, 03 Aug 2006 05:24:40 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[1and1.com]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article219</guid>
		<description><![CDATA[This is the story of a man who simply want to create a nice page describing the users of a few games servers for a Return to Castle Wolfenstein mod called The WildWest. He was over joyed when he stumbled across a PEAR module called GameServerQuery. He&#8217;d spent hours and hours trying to get QStat [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/08/03/how-not-to-query-a-quake-halflife-rtcw-farcry-game-server-status-via-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You have been hacked! or What not to do with your 1and1 account&#8230;</title>
		<link>http://thecodecave.com/2006/07/26/you-have-been-hacked-or-what-not-to-do-with-your-1and1-account/</link>
		<comments>http://thecodecave.com/2006/07/26/you-have-been-hacked-or-what-not-to-do-with-your-1and1-account/#comments</comments>
		<pubDate>Wed, 26 Jul 2006 20:50:33 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[1and1.com]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article218</guid>
		<description><![CDATA[Well, I had a nice post about how I was distracted from posting more Delphi code because I was playing with a new pear module I&#8217;d found called GameServerQuery. I was finishing that post by asking if anyone had gotten it to work because I was pretty sure I had everything correct but it wasn&#8217;t [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/07/26/you-have-been-hacked-or-what-not-to-do-with-your-1and1-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run PHP5 on 1and1.com in 1 easy step&#8230;</title>
		<link>http://thecodecave.com/2006/07/13/how-to-run-php5-on-1and1com-in-1-easy-step/</link>
		<comments>http://thecodecave.com/2006/07/13/how-to-run-php5-on-1and1com-in-1-easy-step/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 02:16:05 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[1and1.com]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article206</guid>
		<description><![CDATA[It actually can&#8217;t get any easier than this. Just put the following line in your .htaccess file: AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php And your done! Your site is now running under PHP5. Enjoy&#8230; Want proof? Want to know details? Well&#8230; Here you go&#8230; It turn&#8217;s out that 1and1.com accounts all come with PHP4 active. [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/07/13/how-to-run-php5-on-1and1com-in-1-easy-step/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
		<item>
		<title>Please include your work to support the answer&#8230;</title>
		<link>http://thecodecave.com/2006/06/28/please-include-your-work-to-support-the-answer/</link>
		<comments>http://thecodecave.com/2006/06/28/please-include-your-work-to-support-the-answer/#comments</comments>
		<pubDate>Wed, 28 Jun 2006 21:59:38 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/article190</guid>
		<description><![CDATA[Cindy&#8217;s comment on my last post reminded me that I did not show any of the routines I tried while trying to figure out how to get the full raw email from the built in PHP imap_ routines. So, here it is&#8230; It is obviously scrap work, but some one might find it useful to [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/06/28/please-include-your-work-to-support-the-answer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WP-Contract-Form 0.2 released</title>
		<link>http://thecodecave.com/2006/05/22/wp-contract-form-02-released/</link>
		<comments>http://thecodecave.com/2006/05/22/wp-contract-form-02-released/#comments</comments>
		<pubDate>Mon, 22 May 2006 17:12:35 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/?p=134</guid>
		<description><![CDATA[The original version had some issues that have now been corrected. It can be downloaded here: http://www.thecodecave.com/downloads/plugins/wp-contract-form.zip Change Log: 0.2 REQUIRED RELEASE Fixed the MD5. It now uses website instead of email too. Then the same email contact can be used for multiple websites. Removed the CSS styles that were incompatible with my theme (and [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/05/22/wp-contract-form-02-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install custom PEAR modules on 1and1.com and other shared servers</title>
		<link>http://thecodecave.com/2006/05/22/how-to-install-custom-pear-modules-on-1and1com-and-other-shared-servers/</link>
		<comments>http://thecodecave.com/2006/05/22/how-to-install-custom-pear-modules-on-1and1com-and-other-shared-servers/#comments</comments>
		<pubDate>Mon, 22 May 2006 13:57:14 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/?p=116</guid>
		<description><![CDATA[1and1.com, as I said before, is a great host. Their support may not be able to tell you how to do everything you want to do, but for the most part, they give you full access. If they offer a Free server for three years deal again, snatch it up. You&#8217;ll save loads of money [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/05/22/how-to-install-custom-pear-modules-on-1and1com-and-other-shared-servers/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Cross Site Request Forgery</title>
		<link>http://thecodecave.com/2006/04/24/cross-site-request-forgery/</link>
		<comments>http://thecodecave.com/2006/04/24/cross-site-request-forgery/#comments</comments>
		<pubDate>Mon, 24 Apr 2006 21:24:47 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thecodecave.com/?p=105</guid>
		<description><![CDATA[In June of 2001, Peter Watkins defined the term Cross Site Request Forgery &#8211; pronounced Sea Surf. He keeps that discussion here: http://www.tux.org/~peterw/csrf.txt I&#8217;d posted a copy of this text localy on my site and now I&#8217;ve now found I have a number of people linking to it. So, I thought I&#8217;d turn it into [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/04/24/cross-site-request-forgery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The problem with multiple checkboxes</title>
		<link>http://thecodecave.com/2006/03/13/the-problem-with-multiple-checkboxes/</link>
		<comments>http://thecodecave.com/2006/03/13/the-problem-with-multiple-checkboxes/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 00:39:27 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://thecodecave.com/?p=48</guid>
		<description><![CDATA[Multiple field values, specificially multiple check boxes, work differently with GET and POST HTML form submissions.  This post explains how, and what to do to get multiple checkboxes to work using the POST method and (spoiler) arrays.]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/03/13/the-problem-with-multiple-checkboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Bitwise operaters&#8230;</title>
		<link>http://thecodecave.com/2006/03/13/php-bitwise-operaters/</link>
		<comments>http://thecodecave.com/2006/03/13/php-bitwise-operaters/#comments</comments>
		<pubDate>Mon, 13 Mar 2006 16:33:04 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://thecodecave.com/?p=47</guid>
		<description><![CDATA[Bitwise Operators Example Name Result $a &#38; $b And Bits that are set in both $a and $b are set. $a &#124; $b Or Bits that are set in either $a or $b are set. $a ^ $b Xor Bits that are set in $a or $b but not both are set. ~ $a Not [...]]]></description>
		<wfw:commentRss>http://thecodecave.com/2006/03/13/php-bitwise-operaters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
