<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Feed2JS &#8211; First Out of the Gate&#8230;</title>
	<atom:link href="http://cogdogblog.com/2004/05/25/feed2js-first/feed/" rel="self" type="application/rss+xml" />
	<link>http://cogdogblog.com/2004/05/25/feed2js-first/</link>
	<description>Alan Levine&#039;s space for barking about and playing with technology</description>
	<lastBuildDate>Fri, 25 May 2012 14:40:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Gerry Paille</title>
		<link>http://cogdogblog.com/2004/05/25/feed2js-first/comment-page-1/#comment-574</link>
		<dc:creator>Gerry Paille</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2004/05/25/feed2js-first-out-of-the-gate/#comment-574</guid>
		<description></description>
		<content:encoded><![CDATA[<p>Alan or David ˆ± could either of you please provide more details related to &#8220;server parameters for the build.php script for sites where register globals is off&#8221;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Levine</title>
		<link>http://cogdogblog.com/2004/05/25/feed2js-first/comment-page-1/#comment-575</link>
		<dc:creator>Alan Levine</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2004/05/25/feed2js-first-out-of-the-gate/#comment-575</guid>
		<description>Often in PHP server setups, a default behavior is set for security reasons that prevent you from directly accessing variable values that are passed to the script.



When register globals is ON (what we do), if you pass a variable named $foo to a PHp script you can directly access it by doing:

	echo &quot;the value of foo is $foo&quot;;



When register globals is OFF, you need to extract it from an array that is created to store the variables:

	echo &quot;the value of foo is &quot; . $_GET[&#039;foo&#039;];





The difference is minor, but if you do not take the latter route, in an environment where register globals is off, your variables will never have values. This is pretty much irrelevant, as I have written the latter approach (which works regardless of the value of register globals) into the Feed2JS script  but had not done so for the build.php one which can be used locally to create a form that allows users to preview the Feed or create the cut and paste javascript. It is not required to use the Feed2JS scripts (but helps as a tool).



Bottom line- you do not really need to worry about it.</description>
		<content:encoded><![CDATA[<p>Often in PHP server setups, a default behavior is set for security reasons that prevent you from directly accessing variable values that are passed to the script.</p>
<p>When register globals is ON (what we do), if you pass a variable named $foo to a PHp script you can directly access it by doing:</p>
<p>	echo &#8220;the value of foo is $foo&#8221;;</p>
<p>When register globals is OFF, you need to extract it from an array that is created to store the variables:</p>
<p>	echo &#8220;the value of foo is &#8221; . $_GET['foo'];</p>
<p>The difference is minor, but if you do not take the latter route, in an environment where register globals is off, your variables will never have values. This is pretty much irrelevant, as I have written the latter approach (which works regardless of the value of register globals) into the Feed2JS script  but had not done so for the build.php one which can be used locally to create a form that allows users to preview the Feed or create the cut and paste javascript. It is not required to use the Feed2JS scripts (but helps as a tool).</p>
<p>Bottom line- you do not really need to worry about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerry Paille</title>
		<link>http://cogdogblog.com/2004/05/25/feed2js-first/comment-page-1/#comment-576</link>
		<dc:creator>Gerry Paille</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://cogdogblog.com/2004/05/25/feed2js-first-out-of-the-gate/#comment-576</guid>
		<description>Thanks for this Alan - it explains why the build.php from your original scripts would not work on my server.



I am not a coder, so I did a little searching on the net and found the folowing that has fixed the problems for your original build script:



&lt;a href=&quot;http://www.liquidpulse.net/code/3&quot;&gt;http://www.liquidpulse.net/code/3&lt;/a&gt;



Both suggested methods workd for me.



I will have to go ahead an install your latest version as well.



Thanks for the very valuable work on this.
</description>
		<content:encoded><![CDATA[<p>Thanks for this Alan &#8211; it explains why the build.php from your original scripts would not work on my server.</p>
<p>I am not a coder, so I did a little searching on the net and found the folowing that has fixed the problems for your original build script:</p>
<p><a href="http://www.liquidpulse.net/code/3">http://www.liquidpulse.net/code/3</a></p>
<p>Both suggested methods workd for me.</p>
<p>I will have to go ahead an install your latest version as well.</p>
<p>Thanks for the very valuable work on this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

