You are here: Re: [PHP] User Management « PHP « IT news, forums, messages
Re: [PHP] User Management

Posted by aznFETISH on 10/12/47 11:13

I use something like this the numbers 1,2,3,4 are an array of member group
ID's so it checks the users session to see if they are a member to one of
those groups

$_product_id = array(1,2,3,4);
require_once("/home/blah/public_html/members/plugins/protect/php_include/check.inc.php");

<angelo@zlogic.co.za> wrote in message
news:1113419106.425d6d62ca4f2@webmail.zlogic.co.za...
>
>
> use an include file at the top of each page.
> in this include file you will check to see whether that user has access
> to see that page, if they dont then just redirect to the main menu page
> or an error page.
>
> hope this helps
>
> Angelo Zanetti
> Z Logic
>
> www.zlogic.co.za
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация