I am Spanish and my English is rather poor, so I apologize in advance.
I wonder if anyone could help me with a question.I have a videochat, and i need the some vars of user session.this videochat works with a file called settings.php that contains some xml tag.I need to access user object to obtain:The username, sex, and if is it possible create my own field with some permission.
My question is, how can i get this data using settings.php? if is it possible add an include of main file that contain the session, and then work with it in the file?
File:settings.php<? include 'xxx'; $objUser = someMethodToGetUser;?><xml> <user><?=$objUser->username?></users> <sex><?=$objUser->sex?></sex> <admin><?=$objUser->admin?></admin></xml>
Possible?
It's very simple that i need. Something like this to works with videochat.
thanks