Having trouble with HTTP Authentication.
What i am trying to do is take some session variables $HTTP_AUTH_USER and $HTTP_AUTH_PASS and validate those with a row in a table on postgresql database. I cannot get it to work. I think i have the Query right and all but the validation this is not right, because it will not authenticate. i still get an HTTP 401 error.
I have a long script that i have attached with the PHP that i am useing for this. I would appreciate it if someone could look at it and see what they can find or instruct me on.
Thanks,
Cameron Seader