PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi all
I am migrating a site from a windows box to a linux. Everything seems to be working except the admin login which use the header function with WWW-Authenticate. When you go the log in page the pop up window comes up but it seems that it does not pass the user and password variables back to the page
I am running apache. As far as I know it is on. The pop up window to login pops up. I looked through the httpd.conf file for WWW-Authentication put could not find it. I also looked through the php.ini.
I'm using the following function in one project. Please try if it works. If it doesn't could you output $_SERVER, that should contain 'PHP_AUTH_USER'. ( ie. print_r ($_SERVER); Make sure you remove all vital passwords for your server, if there are any )