I'm looking for a way to force basic http autentication from within a PHP
script.
Here's the situation:
I have an exisiting system that first authenticates people via the aMemberPro
package. In the "old days", aMemberPro then moved the user to a page inside a
directory protected with .htaccess basic authentication. It used the URL
format http://name:pa******@server.directory.page.html. When the IE6 update
came out, this syntax no longer worked.
As a workaround, the "name:password@ " was removed. Now, users have to login to
the aMemberPro page then login again to the protected content of the website.
I have access to the userid and password. Is there a way that I can set things
up right before the user is redirected to the server/directory/page.html
inside the protected directory so the web server's authentication will be
satisifed and the user will not be prompted again for userid/password?
I've tried plugging values for $_SERVER[remote_user], but I still get prompted
by the server for userid/password.
Thanks for any suggestions.