Should this do the job?
<?php
if ($_COOKIE['spip_admin'] AND $_COOKIE['spip_session']){
echo 'OK';
.........................
}
?>
Marko
Should this do the job?
<?php
if ($_COOKIE['spip_admin'] AND $_COOKIE['spip_session']){
echo 'OK';
.........................
}
?>
Marko
yes and no
$_COOKIE['spip_admin'] is available only if the user accepts this
cookie (this can be desactivated in the private area, if you don't
want to see the admin buttons on your site)
.Gilles
--
2007/3/29, Marko Pekic <marko.pekic@gmail.com>:
Should this do the job?
<?php
if ($_COOKIE['spip_admin'] AND $_COOKIE['spip_session']){
echo 'OK';
.........................
}
?>Marko
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en