redirect for one url
Posted: Mon Feb 24, 2003 2:48 pm
Hi, I want do a script that have a conditional , and if true send the user to one url..... HOW i do that ??? a rediretc...
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
if( condition ) {
header("Location: http://www.example.com/");
exit;
}
?>