Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2017
    Posts
    17
    Points
    262
    Level
    5

    Question list logged in users

    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

  2. #2
    Join Date
    Apr 2012
    Posts
    2,044
    Points
    19,773
    Level
    61
    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

  3. The Following User Says Thank You to d2d4j For This Useful Post:


  4. #3
    Join Date
    Apr 2017
    Posts
    17
    Points
    262
    Level
    5
    Thanks for the information John. Once I get the solution, I will update here.


    Thank you
    kiran

  5. The Following User Says Thank You to kiran upadhya For This Useful Post:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •