Re: authentication
| From: | abe at fish dot serve dot co dot uk | Date: | Mon, 27 Aug 2001 12:52:00 +0000 |
| Subject: | Re: authentication | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64625@lists.php.net to get a copy of this message | ||
Hi Wilbert,
what I have done in the past (probably not the best way) is to stick a
function call in the top of all pages in that directory which calls a
function that checks for a cookie to see that the person viewing has
actually logged in.
I hope that helps.
Abe
On Mon, 27 Aug 2001, Wilbert Enserink wrote:
> Hi all,
>
>
> Can anybody help me with this authentication problem?
>
> Clients can log in using a html form on my site. When they log in their username and password
> are checked in a mysql database. Then they are forwarded to a url, a directory on my site also
> coming from the db. This directory should not be public of couse, so I did a chmod 744 on the
> clients directory.
>
> Anybody has any ideas? I prefer not to use the standard window popup thing for authentication.
> I checked the php manual, but there is not much info on plain html forms on the subject, or
> maybe it is my English...:-)
>
>
>
> Regards, Wilbert
>
> -------------------------
> Pas de Deux
> Van Mierisstraat 25
> 2526 NM Den Haag
> tel 070 4450855
> fax 070 4450852
> http://www.pdd.nl
> info@pdd.nl
> -------------------------