title: Does <?php echo $PHP_SELF?> No Work In PHP 5.x?
body: <p>I know that with PHP 4.1 they introduced the concept of super globals, which I do not entirely understand, but I had the following code working with PHP 4.3.x (or something close to that), and recently updated to PHP 5.2.4, and now the info doesn't seem to want to get posted to my database. It just returns me to the same page I was trying to submit from.</p>
  
  <pre><code>if ($submit) {
  mysql_select_db("ibmclub",$db);
  $sql = "INSERT INTO april_floral (image) VALUES ('$image')";
  $result = mysql_query($sql);
  header("location:confirm.php");
  } else {
  &lt;form method="post" action="&lt;?php echo $PHP_SELF?&gt;"&gt;
  &lt;form guts&gt;
  &lt;?php
  }
  ?&gt;
  </code></pre>
  
  <p>You get the gist. Having problems escaping the brackets to get the code to show up.</p>
  
  <p>So, is there s</p>