# $Header: /CVSROOT/ptybuffer/php/inp.php,v 1.2 2007-09-21 11:10:15 tino Exp $ # # Ptybuffer web based shell - input window # # This Works is placed under the terms of the Copyright Less License, # see file COPYRIGHT.CLL. USE AT OWN RISK, ABSOLUTELY NO WARRANTY. # # $Log: inp.php,v $ # Revision 1.2 2007-09-21 11:10:15 tino # CLL notice now in scripts # # Revision 1.1 2007/08/24 17:32:21 tino # first version $autoscroll=$_REQUEST["autoscroll"]; $action=$_REQUEST["action"]; $confirm=$_REQUEST["confirm"]; $shortcut=$_REQUEST["shortcut"]; $direct=$_REQUEST["direct"]; $port=$_REQUEST["port"]; $ok=$_REQUEST["ok"]; $send=$_REQUEST["send"]; if ($autoscroll=="" && !$_REQUEST["inited"]) $autoscroll=1; if ($port=="") $port="shell"; if (!preg_match("/^[-.a-zA-Z0-9]*$/",$port)) $port = ""; function checked($x) { if ($x!="") echo "CHECKED"; } ?>