This is very easy with PHP :
<?php
$to = 'http://www.abc.com';
header('Location: '. $to);
exit;
?>
but sometimes the header function gives the warning that the header information is already sent. So use the followint code....
echo" <script>
window.location=\"test.php\"
</script> ";
Marco Antonio Mora Godoyt wrote:
Who is the PHP equivalent of the ASP method
response.redirect(....)????.
How can i do this same work in PHP????