Hello. I am trying to write a redirection code. It should only redirect when a specific input is put in the name/email field and submitted.
So far I came up and gathered :o
<?php
function redirect($string)
{
if ($string)
{
$redir1=array("scouter")
}
}
if ($_POST[''submit"])
{
}
?>
<form action="redirect.php" method="POST">
<input type="text" name="back"/>
<input type="submit" name="submit" value="POST" />
</form>
lots of empty lines :o