how would we only allow a certain group to view a page? how would we only allow a certain group to view a page?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

how would we only allow a certain group to view a page?

Started by bit bit spears, May 25, 2004, 01:57:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

hey:)

how would we only allow a certain group to view a page?

lets say i want group "A" to be able to view all the images

but

i want group "B" only to view thumbnails

how would i go about getting this to work?



if (A){

} else {
{
    $redirect = $redirect . "you are not allowed to view this page.php";
   header("Location: $redirect");

    exit();

}}


something like this?

hyperion

DefenceTalk made a mod for this that is in the Mods forum.  Look for something like 'Only Registered users can view images.'
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)