Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How do I get the User ID?  (Read 2994 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 21 queries.