<?php $login = $_REQUEST['login']; $pass = $_REQUEST['pass']; echo "$login $pass $bool"; if (($login == "user1") and ($pass == "123")) { header('Location: /1.php Content-type: text/html; charset=utf-8'); exit(); }?>
Standard input is empty
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
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!