fork download
  1. <?php
  2. $login = $_REQUEST['login'];
  3. $pass = $_REQUEST['pass'];
  4. echo "$login $pass $bool";
  5. if (($login == "user1") and ($pass == "123")) {
  6. header('Location: /1.php Content-type: text/html; charset=utf-8');
  7. exit();
  8. }
  9. ?>
Success #stdin #stdout #stderr 0.01s 20568KB
stdin
Standard input is empty
stdout
  
stderr
PHP Notice:  Undefined index: login in /home/dyEKT8/prog.php on line 2
PHP Notice:  Undefined index: pass in /home/dyEKT8/prog.php on line 3
PHP Notice:  Undefined variable: bool in /home/dyEKT8/prog.php on line 4