esthera
03-27-2007, 07:21 PM
I have the following
$username="test";
$username="pass";
setcookie("username", $username, time()+3600);
setcookie("password", $password, time()+3600);
echo "<br>username:".$_COOKIE["username"];
echo "<br>password:".$_COOKIE["password"];
echo "Thank You. Your username is:".$username." <br>Your Password is:".$password;
for some reason the cookies are not saving -- what am i doing wrong?
$username="test";
$username="pass";
setcookie("username", $username, time()+3600);
setcookie("password", $password, time()+3600);
echo "<br>username:".$_COOKIE["username"];
echo "<br>password:".$_COOKIE["password"];
echo "Thank You. Your username is:".$username." <br>Your Password is:".$password;
for some reason the cookies are not saving -- what am i doing wrong?