<?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>Jeanne Mitchell &#187; $_SERVER</title>
	<atom:link href="http://frailandforgotten.com/tag/_server/feed/" rel="self" type="application/rss+xml" />
	<link>http://frailandforgotten.com</link>
	<description>Raspy-voiced Web development</description>
	<lastBuildDate>Fri, 10 Jun 2011 00:00:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Save some time with $_SERVER variables</title>
		<link>http://frailandforgotten.com/save-some-time-with-_server-variables/</link>
		<comments>http://frailandforgotten.com/save-some-time-with-_server-variables/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 06:09:01 +0000</pubDate>
		<dc:creator>Jeanne</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[$_SERVER]]></category>

		<guid isPermaLink="false">http://frailandforgotten.com/?p=48</guid>
		<description><![CDATA[I spend a lot of time testing out certain things with $_SERVER array.  I often forget what I should be getting as a value for a specific variable.  Sometimes what variable it is that I am wanting to work with.  &#8230; <a href="http://frailandforgotten.com/save-some-time-with-_server-variables/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spend a lot of time testing out certain things with $_SERVER array.  I often forget what I should be getting as a value for a specific variable.  Sometimes what variable it is that I am wanting to work with.  Here&#8217;s a quick loop that can generate the $_SERVER array all nice and neat like:</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="php"><ol><li class="li1"><pre class="de1"><span class="kw1">foreach</span> <span class="br0">&#40;</span><span class="re0">$_SERVER</span> <span class="kw1">as</span> <span class="re0">$variable</span> <span class="sy0">=&amp;</span>gt<span class="sy0">;</span> <span class="re0">$value</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></pre></li><li class="li1"><pre class="de1">	<span class="kw1">echo</span> <span class="re0">$variable</span> <span class="sy0">.</span> <span class="st0">&quot; = &quot;</span> <span class="sy0">.</span> <span class="re0">$value</span> <span class="sy0">.</span> <span class="st0">&quot;&amp;lt;br /&amp;gt;&quot;</span><span class="sy0">;</span></pre></li><li class="li1"><pre class="de1"><span class="br0">&#125;</span></pre></li></ol></div></div></div></div></div></div></div>


<p>To jazz it up, you can add unordered list elements or tables to it.  What&#8217;s not to love?</p>
]]></content:encoded>
			<wfw:commentRss>http://frailandforgotten.com/save-some-time-with-_server-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

