Is the following code the best way to redirect someone to a different page using PHP?

<?php
header("Location: http://www.yahoo.com";);
?>

I looked for a "redirect" function of some kind and didn't come up with anything. Just curious what the consensus is...

Thanks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to