Jump to content

  •  

- - - - -

IPS Check user logged-in


  • Please log in to reply
No replies to this topic

#1 SnowierBobcat00

SnowierBobcat00

    The Uploader

  • Moderator
  • 21 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 SnowierBobcat00, 09 October 2017 - 07:36 PM.

Offshore Hosting Solutions! ONLY 1.99$ www.alloja.net





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users