18 Jul Allowing Access to all groups only Posted by Christopher Ofozor | Product: Member Login | 2 Comments
I have a website i am developing for clients. There are two groups of users and there are different pages to be accessed by each group. However, i still want a code to protect a page that all users can see but non users cannot see. Please assist as i am running out of time with client. Thanks all.

2 Replies to "Allowing Access to all groups only"

Sasho Valkanov July 23, 2012 at 10:38 am | Reply

+1

Do you have our Member Login script? Using it you can protect any .php page so only registered users can access it.
Christopher Ofozor July 23, 2012 at 10:46 am

0

Yes i have. I have two groups, and each group has its own protection code. There codes points to gid?=1,gid?=2.(Not looking at the codes now) Now i need a page that both groups can access but none members cannot access.
  • 1


Please be polite and helpful and do not spam or offend others. We promise you will be treated the same way.

Log in your free account or if you still haven't joined our Webmaster Community Reward Program, you can create your free account now.

Posting tip:
if you use code in your comments please put it in these tags [php], [sql], [css], [js]
PHP code example: [php] echo date("Y-m-d"); [/php]

Thank you,
~ PHPJabbers team ~