[development] Block PHP code returns true
Earnest Berry
earnest.berry at gmail.com
Fri Aug 31 15:58:01 UTC 2007
Depends, need more info. Who set the cookie?
If the cookie was set by another domain, you will not be able to read it
from the $_COOKIE variable.
- Earnest
Tony Guntharp wrote:
> All,
> I'm trying to show a block only if a particular cookie has been set.
> Is there any reason why this statement isn't working?
>
> <?php
> if($_COOKIE['FONALITYreseller']) {
> return TRUE;
> } else {
> return FALSE;
> }
> ?>
>
> thanks
>
> -t
>
> Tony Guntharp
> Co-Founder SourceForge.net
> fusion94 at damagestudios.net
> 1-415-692-5507
> 1-415-680-5361
>
>
>
>
>
More information about the development
mailing list