|
Posted by Ric on 01/02/07 12:11
Nakkie schrieb:
> Hi
>
> Has anyone experienced this problem before?
No
> I created a simple login page using an HTML form.
> PHP check the username and password against a .txt file.
> The authentication part is doing what it's supposed to do with both valid
> and invalid details.
> The problem comes in when I leave both fields blank and click the login
> button - it authenticates...... and take me to the restircetd area....
> I have created a password for a blank username as well as a space, but it
> stil does the same.
> Any idea how to fix this?
>
>
Show us some code, login form + validation code + your text file.
I'm not sure how you do this right not.
--Ric
Navigation:
[Reply to this message]
|