Re: Getting info from Cookie
| From: | Cato Larsen | Date: | Wed, 15 Aug 2001 13:03:47 +0000 |
| Subject: | Re: Getting info from Cookie | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11377@lists.php.net to get a copy of this message | ||
Thanks!
But how do you extract a certain point of info from it?
The info is seperated by "+" (without the "'s)
I used:
<?php echo $HTTP_COOKIE_VARS["TestCookie"]; ?>
And I got Cato+bec39d1ca1091da20b4a8ef5ecacfde8
Where bec39d1ca1091da20b4a8ef5ecacfde8 is the session id for the MySQL
database, and Cato is what I want to extract.
Cato