here's one of my that is working, I think the return may throw things for a loop:

<?php echo drupal_is_front_page() ?>

saludos,

Victor Kane
http://awebfactory.com.ar

On 8/30/07, Tony Guntharp <fusion94@damagestudios.net> 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@damagestudios.net
1-415-692-5507
1-415-680-5361