User mode - checking if a user is a member of a specific group User mode - checking if a user is a member of a specific group
 

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]

Main Menu

User mode - checking if a user is a member of a specific group

Started by jacek_roch, October 18, 2005, 12:13:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jacek_roch

Hi,

I have a problem: I want to make a statistic of downloaded pictures. Every author (group: authors) should see which of his pictures were downloaded. I've already made the MYSQL table "statistics" and "show_stats.php" etc, but I don't know how to make the "show_stats.php" accesible only for the authors? Someting like checking the ADMIN_MODE but only for registered "authors" group...


Do You have any idea?
Thanks and best regards
J