register_globals is also a great way of making PHP Scripts exploitable :/
PHP Code:
if(isset($submit)){
a better way of doing this, would be:
PHP Code:
if (!empty($_POST)) {
Other than that, looks ok.. but..
always make sure you die(); after your HTTP headers are sent, this stops PHP sending output which will then make the header ignored by browsers (I've hit this problem before
) So:
PHP Code:
header("Location: http://lan.crazymonkeycomputers.com/rt.htm");
die();
}
(You also have a space after your header call, this could also cause problems.)