<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: using AJAX to spiff up a gallery</title>
	<atom:link href="http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/</link>
	<description>Programming, espresso, and grumbling.</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:27:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: marlon</title>
		<link>http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/comment-page-1/#comment-232246</link>
		<dc:creator>marlon</dc:creator>
		<pubDate>Sun, 02 Mar 2008 21:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/#comment-232246</guid>
		<description>your tutorial is great! now all you need is a link to a website showing an example of a gallery using ajax</description>
		<content:encoded><![CDATA[<p>your tutorial is great! now all you need is a link to a website showing an example of a gallery using ajax</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kat</title>
		<link>http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/comment-page-1/#comment-121682</link>
		<dc:creator>Kat</dc:creator>
		<pubDate>Sat, 05 May 2007 02:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/#comment-121682</guid>
		<description>So I know nothing about PHP to make a comment about the code... But I can say that I like Lightbox :) Though find it a bit &quot;cheap&quot; on bigger sites, seeing that it&#039;s free and all.</description>
		<content:encoded><![CDATA[<p>So I know nothing about PHP to make a comment about the code&#8230; But I can say that I like Lightbox :) Though find it a bit &#8220;cheap&#8221; on bigger sites, seeing that it&#8217;s free and all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/comment-page-1/#comment-121542</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Fri, 04 May 2007 22:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/#comment-121542</guid>
		<description>The &lt;a href=&quot;http://www.php.net/manual/en/language.variables.variable.php&quot; rel=&quot;nofollow&quot;&gt;variable variable&lt;/a&gt; bit would work, but then I might end up with variables of other crap submitted in the URL.  That wouldn&#039;t be harmful if I didn&#039;t use them, though, so your technique would work.  :)</description>
		<content:encoded><![CDATA[<p>The <a href="http://www.php.net/manual/en/language.variables.variable.php" rel="nofollow">variable variable</a> bit would work, but then I might end up with variables of other crap submitted in the URL.  That wouldn&#8217;t be harmful if I didn&#8217;t use them, though, so your technique would work.  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jem</title>
		<link>http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/comment-page-1/#comment-121483</link>
		<dc:creator>Jem</dc:creator>
		<pubDate>Fri, 04 May 2007 20:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/#comment-121483</guid>
		<description>Prematurely hit Add..

That would replace the if array_key_exists bla, but the downside is it doesn&#039;t check for actual existence of the keys. However, in your example your echoing the variables which might not exist if the array keys don&#039;t anyway, so that&#039;s a separate issue.</description>
		<content:encoded><![CDATA[<p>Prematurely hit Add..</p>
<p>That would replace the if array_key_exists bla, but the downside is it doesn&#8217;t check for actual existence of the keys. However, in your example your echoing the variables which might not exist if the array keys don&#8217;t anyway, so that&#8217;s a separate issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jem</title>
		<link>http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/comment-page-1/#comment-121481</link>
		<dc:creator>Jem</dc:creator>
		<pubDate>Fri, 04 May 2007 20:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/#comment-121481</guid>
		<description>I think you could tidy that PHP up a bit with a foreach and variable variables. E.g:

&lt;code&gt;foreach ($_GET as $key =&gt; $value) {
    $$key = htmlspecialchars($value);
}&lt;/code&gt;

Untested though - might be wrong.</description>
		<content:encoded><![CDATA[<p>I think you could tidy that PHP up a bit with a foreach and variable variables. E.g:</p>
<p><code>foreach ($_GET as $key =&gt; $value) {<br />
    $$key = htmlspecialchars($value);<br />
}</code></p>
<p>Untested though &#8211; might be wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han</title>
		<link>http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/comment-page-1/#comment-121253</link>
		<dc:creator>Han</dc:creator>
		<pubDate>Fri, 04 May 2007 10:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/2007/05/03/using-ajax-to-spiff-up-a-gallery/#comment-121253</guid>
		<description>Grr, you tell me this  now after I&#039;ve redone my gallery! I&#039;ve been meaning to learn Ajax but I&#039;m looking at Ruby too! I&#039;m just not a fan of javascript! I just can&#039;t get those horrible page effects out of my head!</description>
		<content:encoded><![CDATA[<p>Grr, you tell me this  now after I&#8217;ve redone my gallery! I&#8217;ve been meaning to learn Ajax but I&#8217;m looking at Ruby too! I&#8217;m just not a fan of javascript! I just can&#8217;t get those horrible page effects out of my head!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

