Posted by Rik on 08/10/07 13:08
On Fri, 10 Aug 2007 10:38:53 +0200, Jim <me@privacy.net> wrote:
> I use apache and .htpassw files to create secure folders for my
> customers
> to access/view.
>
> The problem with this is i have to keep giving out new url's for each
> customer
>
> example:
>
> mydomainname .com/customer1/
> mydomainname .com/customer2/
> mydomainname .com/customer3/
> mydomainname .com/customer4/
> etc
>
> Can anyone suggest what woud be the best way to create a central screen
> login where they enter
> the username and password on the home page.
>
> mydomainname .com
>
> and then depending on their username and pass it takes them to the
> correct
> folders.
>
> I only have a general knowledge about such things therefore I would very
> much appreciate some advice if anyone understands what I am trying to do.
> Is php the way to do this?
Does this help?
<http://www.php.net/manual/en/features.http-auth.php>
Possibly also use sessions and/or take advantage of Apache's mod_rewrite.
--
Rik Wasmus
[Back to original message]
|