Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 305 Bytes
<form method="post">
<textarea name="duh"></textarea>
<input type="submit" />
</form>
<?php
if($_REQUEST['duh']) header('Content-type: text/plain');
$blah = split("\n",$_REQUEST['duh']);
foreach($blah as $it) {
echo trim(preg_replace('/^[\d]+(.*)$/','$1',$it))."\n";
}//end foreach
?>