Re: problems with cookies and PHP
| From: | Rick Emery | Date: | Thu, 13 Feb 2003 18:02:06 +0000 |
| Subject: | Re: problems with cookies and PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135476@lists.php.net to get a copy of this message | ||
setcookie("userinfo","userid",NULL,"/");
----- Original Message -----
From: "Fireborn Silvaranth" <webmaster@faxonautolit.com>
To: <php-general@lists.php.net>
Cc: <eurleif@buyer-brokerage.com>
Sent: Thursday, February 13, 2003 11:58 AM
Subject: [PHP] problems with cookies and PHP
ok now it will print it's value correctly
but what about actually changing the cookie's value?
this line:
$_COOKIE['userInfo']="userID";
sets $_COOKIE['userInfo'] to "userID"
but it does not change the cookie file itself.
what must I do to accomplish that?
----- Original Message -----
From: "Leif K-Brooks" <eurleif@buyer-brokerage.com>
To: "Fireborn Silvaranth" <webmaster@faxonautolit.com>
Sent: Thursday, February 13, 2003 9:41 AM
Subject: Re: [PHP] problems with cookies and PHP
>
> >print "$_COOKIE['userInfo']";
> >
> >
> Should be:
> print $_COOKIE['userInfo'];
>
> --
> The above message is encrypted with double rot13 encoding. Any
unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php