Look at this:
<?php
header("Location: http://www.example.com/"); /* Redirect browser */
exit; /* Make sure that code below does
not get executed when we redirect. */
?>This needs to be before anything else being outputted or you can use
javascript to
redirect.<script>location='http://www.somewebsite.com';</script>
----- Original Message -----
From: "James Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 2:30 PM
Subject: [PHP] PHP Redirects
Hi,
In ColdFusion, I can redirect to another page with the tag <cflocation
url="somepage.ext">. Is there an equivalent in PHP?
Thanks,
Jim Johnson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php