http header
| From: | Gabe | Date: | Fri, 16 Apr 2004 19:48:59 +0000 |
| Subject: | http header | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183689@lists.php.net to get a copy of this message | ||
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