Jump to content

  •  

- - - - -

IPS Check user logged-in


  • Please log in to reply
No replies to this topic

#1 0x10039123

0x10039123

    0x40

  • Moderator
  • 30 posts

Posted 09 October 2017 - 07:36 PM

Hello community!
today I release the script to verify if user is logged-in
<?php
if(\IPS\Member::loggedIn()->member_id)
{
echo 'LOGGED ';
}else{
echo 'ERROR';
?>

Edited by 0x10039123, 29 November 2017 - 08:57 PM.

Offshore Hosting Solutions! 100GB ONLY 3.20$ www.alloja.net





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users