11 Feb
2008
11 Feb
'08
1:43 p.m.
Quoting Davide Michel 'ZioBudda' Morelli <michel@ziobudda.net>:
<?php
include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
print_r($user);
?>
but the result is that the "uid" is 0. Why ?
Uhm, you haven't pulled in the session or loaded the user variable.
Does anyone can give me some type of RTFM ?
http://api.drupal.org/api/5 http://api.drupal.org/api/function/user_load/5 Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/