Re: [PHP] Clear ALL Cookies previously set

2003-09-22 Thread Marek Kilimajer
Eugene Lee wrote: But I don't know what might happen if you use setcookie() to expire a cookie and then use setcookie() later on to set the same cookie. www.php.net/set_cookie : In PHP 3, multiple calls to setcookie() in the same script will be performed in reverse order. If you are trying to

Re: [PHP] Clear ALL Cookies previously set

2003-09-22 Thread Eugene Lee
On Mon, Sep 22, 2003 at 10:18:21AM +0200, Marek Kilimajer wrote: : : Eugene Lee wrote: : : But I don't know what might happen if you use setcookie() to expire a : cookie and then use setcookie() later on to set the same cookie. : : www.php.net/set_cookie : : : In PHP 3, multiple calls to

Re: [PHP] Clear ALL Cookies previously set

2003-09-20 Thread Eugene Lee
On Fri, Sep 19, 2003 at 09:14:57PM -0400, Stevie D Peele wrote: : : How can I clear all cookies that have been previously set? : : I want this in an if statement so something like : : if ($value == $blue){ : clear all cookies; : setcookie(name,time()+3600); : } Walk through your $_COOKIE array

[PHP] Clear ALL Cookies previously set

2003-09-19 Thread Stevie D Peele
How can I clear all cookies that have been previously set? I want this in an if statement so something like if ($value == $blue){ clear all cookies; setcookie(name,time()+3600); } Thanks