[support] Create api for interface with an application
Earnie Boyd
earnie at users.sourceforge.net
Mon Feb 11 12:43:16 UTC 2008
Quoting Davide Michel 'ZioBudda' Morelli <michel at 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/
More information about the support
mailing list