News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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