achild Posted September 28, 2007 Share Posted September 28, 2007 Can anyone tell me how to pass Form Data (HTML login Screen) to apache using BASIC Auth? So I have a page that has u/p with a submit button, once this is pressed how can I have the data passed and verified across to apache's AuthDBMUserFile? Any help would be wonderful. Thanks Amer Quote Link to comment https://forums.phpfreaks.com/topic/71070-passing-form-data-to-apache-to-basic-auth/ Share on other sites More sharing options...
AV1611 Posted October 1, 2007 Share Posted October 1, 2007 I'm not sure if this is the same question, but I think it is, and I too need an answer. I am under the impression that BASIC auth is sent a 401 error from the server when accessed, and the browser is hardwired to prompt for user name and password and resend the request in a header. If I understand this right, can I make a request via php/html to a site that includes that header info, so the prompt is not seen by the client? I think that's the same question posed differently... Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/71070-passing-form-data-to-apache-to-basic-auth/#findComment-359515 Share on other sites More sharing options...
dyu1211 Posted November 28, 2007 Share Posted November 28, 2007 Any one got the solution for this issue? Quote Link to comment https://forums.phpfreaks.com/topic/71070-passing-form-data-to-apache-to-basic-auth/#findComment-401610 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.