[support] Create api for interface with an application

Davide Michel 'ZioBudda' Morelli michel at ziobudda.net
Mon Feb 11 13:21:33 UTC 2008


Earnie Boyd ha scritto:
>
> Uhm, you haven't pulled in the session or loaded the user variable.
>   
How "pulled in the session" ???
I do this:

mydomain/user/
(loggin into my account with my data)
mydomain/mytestpage.php (and this say me that I'm the user "0", but it's 
not true.

> http://api.drupal.org/api/5
> http://api.drupal.org/api/function/user_load/5
>   

I know user_load(), but when I'm logged into Drupal $user is avaible and 
I don't need to load my user-data.

M.

-- 
Michel 'ZioBudda' Morelli                       michel at ziobudda.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ajaxblog.it        			MSN: michel at ziobuddalabs.it                   
						JABBER: michel at gmail.com



More information about the support mailing list