Input Attack :: Register Globals

Input Attack :: Register Globals

  1. if (check_auth ()) {
  2.     $is_authorized = true;
  3. }
  4.  
  5. // ... misc program code
  6. if ($is_authorized) {
  7.     // ... protected content
  8. }
./page.php?is_authorized=1