Re: Authentication with .htaccess
From: CountScubula (me_at_scantek.hotmail.com)
Date: 02/27/04
- Next message: CountScubula: "Re: Python as replacement for PHP?"
- Previous message: Phil Roberts: "Re: Python as replacement for PHP?"
- In reply to: Adam: "Authentication with .htaccess"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Feb 2004 21:13:50 GMT
"Adam" <Adam@actualite.blue-fire.biz> wrote in message
news:c1oano$lf6$1@titan.btinternet.com...
> When using authentication on Apache server with .htaccess and .htgroup, is
> it possible to use PHP to provide customised content depending on whether
a
> visitor to a website is in a specific group or not?
>
> If so, does anyone know of a good tutorial?
>
> Thanks for any help!
>
> Adam
yes, check what group that user is in, then show aproriate content,
one way is to have some files named after the groups, example:
friends.php
buddies.php
employees.php
then do an include($groupName.".php");
-- Mike Bradley http://www.gzentools.com -- free online php tools
- Next message: CountScubula: "Re: Python as replacement for PHP?"
- Previous message: Phil Roberts: "Re: Python as replacement for PHP?"
- In reply to: Adam: "Authentication with .htaccess"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|