Posted by Nakkie on 12/29/06 11:15
Thanx a mil that works perfectly.
I just discovered something else.......
On my login page I use a simple username and password form where the PHP
code authenticate that against a .txt file
The authentication works fine entering usernames and passwords. When leaving
the username and password fields blank - it authenticates you....
I used my scrip that generate the accounts and add the username and password
pair to my 'txt file with a dummy password, but it still authenticates when
leaving the fields blank....
Any ideas?
"Serge Terryn" <serge@essetee.be> wrote in message
news:aF4lh.262145$QD.5675039@phobos.telenet-ops.be...
> Nakkie schreef:
>> Hi
>> Thanx guys for the previous help on authentication.
>> I could not get hold of my host, so decided I'll just go with form
>> authentication iso Apachy - works fine now.
>>
>> could anyone give me the code to open an html page from my login page? in
>> other words, once a user logs in, he/she is derected to another page?
>> in my current code I have: echo "memberarea/members.html";
>> for a successful login
>> This needs to be swapped with what ever code to open a page.....
>
> header('Location: memberarea/members.html');
>
> --
> Posting at the top because that's where the cursor happened to be,
> is like shitting in your pants because that's where your asshole
> happened to be.
>
> http://www.essetee.be
[Back to original message]
|