DM : @rakeshmane10
Goal : Try to reach "alert('Congrats. You solved it.')" :)

START





<?php
highlight_string
(file_get_contents(__FILE__true,NULL,162));



$input1=preg_replace("/[^0-9]/"""$_GET['in1']);
$input2=preg_replace("/[^0-9]/"""$_GET['in2']);

echo 
"<center>Output : ";

if(!
is_numeric($input1) || !is_numeric($input2))
{
echo 
"Only numbers allowed ;)";
die();
}

if(
$input1==$input2)
{
echo 
"Not that Easy ;) ";
die();
}

else
{
echo 
"\n\n<script>";
echo 
"if(String.fromCharCode($input1)==String.fromCharCode($input2))\n alert('Congrats. You solved it.') \nelse document.write('Try harder ;)')";
echo 
"</script>";
}
?>

<br>
Output : Only numbers allowed ;)