1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
if(isset($_POST['sbmt'])) {
	echo(htmlspecialchars($_POST['scriptie']));
}
?>
<html>
	<head>
		<title>test</title>
	</head>

	<body>
		<form action="<?php echo($_SERVER['PHP_SELF']); ?>" method="post">
			<textarea name="scriptie"></textarea>

			<input type="submit" name="sbmt" value="Check that script" />
		</form>
	</body>
</html>