Posted by M. Sokolewicz on 10/12/50 11:14
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
Navigation:
[Reply to this message]
|