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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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 2 Guests 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