setcookie("cookie_user","");
this will delete the cookie
----- Original Message -----
From: "Tom Beidler" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 7:20 AM
Subject: [PHP] how to delete cookies
> I have a site that is password protected using PHP and MySQL. I would like
> to give people the option to log out. I've tried to set the cookie without
> setting the time but that only deletes the cookie when the browser session
> ends. Is there a way to delete it all together?
>
> >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>>
> Tom Beidler
> Orbit Tech Services
> 805.682.8972 (phone)
> 805.682.5833 (fax)
> [EMAIL PROTECTED]
> http://www.orbittechservices.com/
> >>.>>.>>>.>>>>>.>>>>>>>>>.>>>>>>>>
>
>
>
--
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]