Re: Still fighting setcookie

From: Date: Sun, 27 Mar 2005 22:30:57 +0000
Subject: Re: Still fighting setcookie
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-211679@lists.php.net to get a copy of this message
Jasper Bryant-Greene wrote:
[snip] function setcookie2($name, $value="", $expire="", $path="", $domain="", $secure=false) {
    $_COOKIES[$name] = $value;
    return setcookie($name, $value, $expire, $path, $domain, $secure);
} [snip]
Sorry, that should be: $_COOKIE[$name] = $value; -- Jasper Bryant-Greene Cabbage Promotions www: www.cabbage.co.nz email: jasper@cabbage.co.nz phone: 021 232 3303 public key: Jasper Bryant-Greene <jasper@cabbage.co.nz> keyID 0E6CDFC5 fingerprint: 2313 5641 F8F6 5606 8844 49C0 1D6B 2924 0E6C DFC5

« previous php.general (#211679) next »