Jump to content

"Something went wrong. Please try again."


Go to solution Solved by bfarber,

Recommended Posts

// Initialize IPS4 Framework

/* Get the currently logged in member */
$member = \IPS\Member::loggedIn();
$member_id = $member->member_id;

echo $member_id;

I have created a php file in my forums parent directory, with the following code. Why does it not return the member id of the logged in user?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...