How to redirect to a url and pass through in php the login and password http, ie, the http basic login but without user interference? without login pop-ups !
thanks,
celso
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Short answer is that you can’t.
Redirecting to http://user:pass@example.com/ will work on some browsers but not all.
You could use a substitute authentication module, and push a value into it – e.g. using mod_authmemcookie on Apache if you’re happy to tweak the server config like this (and have a cookie you can use).