Hello anne,
Its very simple in PHP
let us consider that you want to redirect to the page 'ZZZ.php'
the coding is
Header("Location: /virtual_path/ZZZ.php");
that it.
bye
M.MV
Anne wrote:
hi,
how do you redirect to another page(htm,php)?
The script below is where i want it to redirect automatically if this condition is reached.
else
{
// they have not tried to log in yet or have logged out
echo "You are not logged in.";
}
Thanks,
anne