We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Get user session | Forum

PipasGG
PipasGG Sep 19 '13
Hello,


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 

Alia Team
Alia Sep 20 '13
Topic was moved from General Questions.
PipasGG
PipasGG Sep 20 '13
help please!
Daisy Team
Daisy Oct 3 '13
Please take a look at this topic: http://www.oxwall.org/forum/topic/13120