Redirecting to a new URL in PHP is done with the header() function. You must call this function before you output anything, otherwise the server automatically generates a header for you and the function won't execute. The command is used as follows: header("Location: http://www.redirecturl.com/");
?>
Saturday, May 30, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment