[PHP] Stupid Cookie Question

2001-09-17 Thread nate

Sorry for having to ask this because i'm sure its a really simple answer...

I set a cookie with the following...

?php 
header(Location:  index.php);
SetCookie(password,$password);
SetCookie(cwname,$cwname); 
?

User see's a form with username and password fields. It sets whatever he inputs to 
cookies. Now i'm trying to figure out how to delete them! I know you can delete it if 
you set a negative time but I never set a time to it in the first place.

Thanks,
Nate



Re: [PHP] Stupid Cookie Question

2001-09-17 Thread Andrew Perevodchik

n1c SetCookie(password,$password);
n1c SetCookie(cwname,$cwname); 

SetCookie(password);
SetCookie(cwnamd);

B-)

-- 
Andrew Perevodchik
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]