title: New PHP Versions Rendered My PHP Application Useless. Register_Globals option removed
body: <p>I wrote a very nice PHP application over 2 years off and on. I made extensive use of the whole </p>
  
  <pre><code>if($page == "users") {
  
  //show user page
  
  } else {
  
  // do nothing
  
  }
  </code></pre>
  
  <p>so everything would be clean and organized and included in just a few files. Things like <code>index.php?page=users</code> -- I have just started back on this project and I noticed the recent versions of PHP have removed the <code>register_globals</code> option which have removed my ability to misuse that "function". <code>register_globals</code> by itself isn't insecure, but if the programmer doesn't take into account all of the things that should be secured if that option is on then it could be exploited.</p>
  
  <p>I'm not sure what to do now. I have been reading the new PHP manuals and I looked at a few tutorials but it doesn't make sense to me yet. I had a head injury and I got some brain damage from it so I did lose some of my ability to figure things out fast like I use to be able to.</p>
  
  <p>I tried setting things like <code>if($page = true) { do_something }</code> but that didn't work either.</p>