LAWL
public text v1 · immutable<html>
<head>
<title>J-SIM</title>
</head>
<body>
<form method="post" onSubmit="lol">
<input type="text" name="code" style="width:500px;height:250px;"><br />
<input type="submit" name="submit" value="Submit">
</form>
<br /><br /><br/ >
<?php
if(isset($_POST['submit'])){
$code = htmlspecialchars($_POST['code']);
if (preg_match("/\bprint\b/i", $code)) {
echo substr($code, -3);
}else{
echo "Incorrect code!";
}
}
?>