Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How do I get the User ID?  (Read 2995 times)

0 Members and 1 Guest are viewing this topic.

artoonie

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 66
How do I get the User ID?
« on: June 10, 2007, 09:05:07 pm »

How to I get the user ID of a logged in user? I have global $CONFIG defined, as well as init.inc.php included.
« Last Edit: June 10, 2007, 10:21:44 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: How do I get the User ID?
« Reply #1 on: June 10, 2007, 09:41:15 pm »

Use the USER_ID constant
Logged

artoonie

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 66
Re: How do I get the User ID?
« Reply #2 on: June 10, 2007, 10:00:39 pm »

heh, that was easy enough.
thanks :)
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.