Hi,
How can I check username of currently logged user for siteworx. In php shell if I print ‘print_r($_SERVER[USER]]’ it always display result as ‘root’. But I need currently logged in user (which is not root in this case). Please suggest the code.
Thank you kiran
Hi kiran
Sorry for late reply, I wanted to think a little
If I remember correctly, I do not think you can use php script to find the logged in users.
I would advice drop support an email to ask
If you do, please could you update your post so it could help others
Many thanks
John
Thanks for the information John. Once I get the solution, I will update here.