Jack,
here is another quick and dirty function to stick in your library, yet
another way to redirect from anywhere in your script
function redirect($url){
echo "<script>window.location.replace(\"".$url."\")</script>";
}
usage:
blah
blah
redirect("any_url");
exit;
>
> -----Original Message-----
> From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 2:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Redirect browser to another URL?
>
>
> Hello,
>
> Anyone know how to have a script re-direct the browser to a URL cleanly?
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php