[Solved]: Identify usertype in anycontent.php [Solved]: Identify usertype in anycontent.php
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Identify usertype in anycontent.php

Started by JMG, June 11, 2004, 08:14:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JMG

How do I find out if a user is registered (in anycontent.php)? Is there variable I could check to identify usertype?

Regards

JMG

JMG

#1
I found it:  USER_ID

      if (!USER_ID) {
           echo "You're not registered. Register!";
       }


/JMG