AndreaD wrote:

I need two bits of info...

(i) Are there ANY cookies set?

if(count($_COOKIES) > 0) {
echo 'cookies are set';
} else {
echo 'no cookies set, or to be more precise, no cookies are set which are available to this site';
}
(ii) How many cookies are set?

echo count($_COOKIES);

how do I find this information out?


AD

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to