Hey gang,
I'm not sure if this is a placement issue or what. I tested setting the cookies, but when I placed it in the application they just don't set. Here's what I've got.
if($go=="now"){
$settime=mktime(0,0,0,12,31,date("Y"));
SetCookie("name",$realname,$settime);
SetCookie("email",$email,$settime);
SetCookie("URL",$URL,$settime);
mail($email,$subject,$note);
mysql($db,$sql);
Header("Location:$url\n\n");}
It's rather simple, and it seems like it should work, but unfortunately, it isn't. If I remove the mail(),mysql() and header() it sets them. But as is, it sends mail, post to db and redirects.
Thanks for the help.
Ron