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
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
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
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
4 matches
Mail list logo