Can't pass variable with GET on localhost
<p>I'm having trouble passing variables with GET.</p>

<p>On the first page I have this link:</p>

<pre><code>&lt;a href="something?test=1"&gt;Test GET&lt;/a&gt;
</code></pre>

<p>And on the page that this this anchor links to, I have this:</p>

<pre><code>if (isset($_GET['test']))
{
    echo "Set";
}
else
{
    echo "Not set";
};
</code></pre>

<p>The page echoes "Not set". I have MAMP installed and I'm running this example on localhost, could that cause my troubles?</p>
