In other hand, if you sent any character yet, you can use.
IF (statement == TRUE)
stay on this page, index.php
ELSE
echo "<script language=\"javascript\">window
location=\"index2.php\";</script>";
""AraDaen"" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> If you have not sent any character till that moment, you can use:
>
> IF (statement == TRUE)
> { stay on this page, index.php }
> ELSE {
> header("Location: index2.php");
>
>
>
>
> cya
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php