title: PHP $_GET and $_POST undefined problem
body: <p>I'm new to PHP so I apologize if this is a simple problem...</p>
  
  <p>I am moving a PHP site from one server to another.  The new server is IIS 7.0, PHP 5.2.1, with short open tag turned "On", and I don't know how the original server was set-up (I was just given the code).</p>
  
  <p>The following is the very first section of code on one of the pages:</p>
  
  <pre><code>&lt;?
  ob_start();
  session_start();
  
  if($_GET['confirm'] == 13 || $_GET['confirm'] == 14 || $_GET['confirm'] == 15 || $_GET['confirm'] == 16) 
  {
      include("test/query/test_query.php");
  }
  ?&gt;
  </code></pre>
  
  <p>When this page executes, the following error is always shown:</p>
  
  <blockquote>
    <p>PHP Notice: Undefined index: confirm in [file location].php on line 6</p>
  </blockquote>
  
  <p>Also, users access this page by being redirected from the home page (which is a standard HTML page).  The full URL when properly navigated to is the following:</p>
  
  <blockquote>
    <p><a href="http://www.[site].com/test.php#login">http://www.[site].com/test.php#login</a></p>
  </blockquote>
  
  <p>... I understand why the error is thrown.  What I don't understand is how this code could ever work as it does on the original server.  Could I be missing a configuration setting?</p>
  
  <p>*This same issue happens in dozens of locations all over the site.  This is just one specific occurrence of the issue. </p>