Hi Friends,
I just ran into a problem.
If someone puts in a login id and password that is incorrect then I have to redirect the person back to the login page giving him an error message that his login id and password is incorrect.
I know that to redirect him back I would have to do header(location : "index.html") from the php page doing authentication,
how can I append an error message to this redirection that would also be displayed on the index page.
I tried header("location : index.html?err=ERROR")
and then tried to print err string on the main page but to no avail.
What am I doin wrong here??
Any help would be appreciated.