Show online user in external php script

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
caramello
Posts: 70
Joined: Thu 23. Sep 2004, 21:43

Show online user in external php script

Post by caramello »

Hi,

I'm trying to implement an external php script which needs the active user from the phpwcms database. Can anyone tell me how to include an ext. php script wich reads the currentuser. I want a user to log in using the frontend login panel 2.0 by Konstntin. That all works fine but now i want the ext script to know wich user is logged in..

$_SESSION['wcs_user_id'] isn't working. I am using the ext content type as way of getting the script show.

Anyone, please advise.
Post Reply