i have done the following:
<html><head><title></title></head><body>
<form method="post" action="test.php">
<input type="text" name="test1">
<input type="submit"></form>
</body>
<html>
then i put the following in the test.php
<?php
$max2 = @$_POST["test1"];
$max3 = "http://www.$max2.com";
Header("Location: $max3");
?>
It seems to work fine, however, how can i edit the above code, so that in case the page does not exist, it will redirect to a particular page which i want i.e. to a not found page ?
Thank You