This is quite an odd scenario, I've been using PHP for a long time, using code exactly like this, but all-of-the-sudden, it doesn't work. Alright, here we go:
I've got a variable in my URL (http://www.fakedomain.com/foo.php?page=bar&) and I've got code in foo.php that looks like:
if ($page != "") {
echo ("Ding! It works now.");
} else {
echo ("Bzzt - Wrong URL. Try again.");
}
but no matter what is typed in the URL, it always says there's no $page. I've tried switching globals on the server on and off to no avail. Please help.