cookies

From: Date: Fri, 14 Sep 2001 06:07:35 +0000
Subject: cookies
Groups: php.general 
Request: Send a blank email to php-general+get-67333@lists.php.net to get a copy of this message
Oops sorry sent that last one on accident.. real problem: i'm using the below code <?php header("Location: index.php"); SetCookie("password",$password,time()+3600); SetCookie("name",$name,time()+3600); ?> Before they go to this page they enter the password and name in a form and hit submit and it submits to this page.. Now is there something wrong with that code? cause it doesnt seem to create the cookie. Thanks a bunch, Nate

« previous php.general (#67333) next »