PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
...
$cookie_set = @setcookie ("cookieid", $uid, time()+$maxlifetime);
IF (!$cookie_set)
{
error ("$error[3]");
}
ELSE
{
?>
<META HTTP-EQUIV=Refresh CONTENT="2; URL=members.php">
Please hold one second while we process your login...<br>
If this page does not refresh in 4 seconds, <A HREF="members.php">click here</a>
...
I am trying to use the above code to redirect my user after logging in. But it refreshes to my home page and it beats me. I don't know what to do. Could it be the cookie settings?
Last edited by jayluda on Wed Aug 03, 2005 8:05 pm, edited 1 time in total.