<?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: Why is $_SERVER[] Considered a &#8220;Class?&#8221;</title>
	<atom:link href="http://neosmart.net/blog/2006/why-is-_server-considered-a-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://neosmart.net/blog/2006/why-is-_server-considered-a-class/</link>
	<description>Connecting Ideas</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:55:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mahmoud Al-Qudsi</title>
		<link>http://neosmart.net/blog/2006/why-is-_server-considered-a-class/comment-page-1/#comment-9886</link>
		<dc:creator>Mahmoud Al-Qudsi</dc:creator>
		<pubDate>Wed, 20 Dec 2006 12:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://neosmart.net/blog/archives/306#comment-9886</guid>
		<description>&lt;p align=&quot;left&quot;&gt;I think that should work. I was wondering what would happen if the &lt;em&gt;array&lt;/em&gt; didn&#039;t exist and that funtion was used - normally that wouldn&#039;t be a concern for &lt;code&gt;$_SERVER&lt;/code&gt;, but seeing as something is obviously wrong anyway.....
&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;I think this just&#160;&lt;em&gt;might&lt;/em&gt; be the bug (from the PHP docs):
&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;http://www.php.net/manual/en/function.isset.php&quot;&gt;&lt;strong class=&quot;function&quot;&gt;isset()&lt;/strong&gt;&lt;/a&gt; does not return &lt;tt class=&quot;constant&quot;&gt;&lt;strong&gt;TRUE&lt;/strong&gt;&lt;/tt&gt; for array keys that correspond to a &lt;tt class=&quot;constant&quot;&gt;&lt;strong&gt;NULL&lt;/strong&gt;&lt;/tt&gt; value, while &lt;strong class=&quot;function&quot;&gt;array_key_exists()&lt;/strong&gt; does.
  &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I&#039;ll certainly look into it once I get home.
&lt;/p&gt;
&lt;p&gt;As for your other question: it&#039;s probably all of the plugins + the theme. K2 is query-heavy, and there are about 55 plugins currently installed - though most don&#039;t interface with the database. NeoSmart is running WP 2.1 SVN, once it htis Beta (currently at alpha 3), the site will undergo some major mainteance and cleanup -&#160; we just want to be sure it won&#039;t be wasted if WP 2.1 beta breaks any of it, but I don&#039;t think so, it&#039;s more or less &quot;done breaking things.&quot;
&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion, at the moment I changed the script (on our server) to not check if it&#039;s set, haven&#039;t had any problems since, so hopefully I can make this change to the main file as well.
&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p align="left">I think that should work. I was wondering what would happen if the <em>array</em> didn&#8217;t exist and that funtion was used &#8211; normally that wouldn&#8217;t be a concern for <code>$_SERVER</code>, but seeing as something is obviously wrong anyway&#8230;..
</p>
<p align="left">I think this just&nbsp;<em>might</em> be the bug (from the PHP docs):
</p>
<blockquote>
<p><a href="http://www.php.net/manual/en/function.isset.php"><strong class="function">isset()</strong></a> does not return <tt class="constant"><strong>TRUE</strong></tt> for array keys that correspond to a <tt class="constant"><strong>NULL</strong></tt> value, while <strong class="function">array_key_exists()</strong> does.
  </p>
</blockquote>
<p>I&#8217;ll certainly look into it once I get home.
</p>
<p>As for your other question: it&#8217;s probably all of the plugins + the theme. K2 is query-heavy, and there are about 55 plugins currently installed &#8211; though most don&#8217;t interface with the database. NeoSmart is running WP 2.1 SVN, once it htis Beta (currently at alpha 3), the site will undergo some major mainteance and cleanup -&nbsp; we just want to be sure it won&#8217;t be wasted if WP 2.1 beta breaks any of it, but I don&#8217;t think so, it&#8217;s more or less &#8220;done breaking things.&#8221;
</p>
<p>Thanks for the suggestion, at the moment I changed the script (on our server) to not check if it&#8217;s set, haven&#8217;t had any problems since, so hopefully I can make this change to the main file as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Dale</title>
		<link>http://neosmart.net/blog/2006/why-is-_server-considered-a-class/comment-page-1/#comment-9882</link>
		<dc:creator>Michael Dale</dc:creator>
		<pubDate>Wed, 20 Dec 2006 10:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://neosmart.net/blog/archives/306#comment-9882</guid>
		<description>Question.

Why is this site so slow? You&#039;re doing 50(!!!) queries per page! Much higher than a standard Wordpress install.
  
  &#160;
</description>
		<content:encoded><![CDATA[<p>Question.</p>
<p>Why is this site so slow? You&#8217;re doing 50(!!!) queries per page! Much higher than a standard WordPress install.</p>
<p>  &nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Dale</title>
		<link>http://neosmart.net/blog/2006/why-is-_server-considered-a-class/comment-page-1/#comment-9881</link>
		<dc:creator>Michael Dale</dc:creator>
		<pubDate>Wed, 20 Dec 2006 10:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://neosmart.net/blog/archives/306#comment-9881</guid>
		<description>Why don&#039;t you try this:
  
&lt;code&gt;if (array_key_exists(&#039;HTTP_REQUEST_URI&#039;, $_SERVER)) {&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t you try this:</p>
<p><code>if (array_key_exists('HTTP_REQUEST_URI', $_SERVER)) {</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using xcache
Object Caching 279/282 objects using xcache

Served from: neosmart.net @ 2012-02-09 18:04:59 -->
