I've gotten a web host who runs an apache server, and I'm hosting a website on it, using PHP. We're having problems getting it to work. Here's the message I sent them.
Quote:
On our website, we use
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
to make a user authenticate on our site. I've tried this on my own apache server, apache 2 with PHP 5, and it works, and stores the variable into PHP_AUTH_USER, and PHP_AUTH_PW. On this server however, it is not, we have a check that sees if the person entered info into these vars, but on this server this always returns false.
Any ideas?
-Thanks in advance.
|
Does anyone know why it wouldn't be saving the info to PHP_AUTH_USER and PHP_AUTH_PW? I believe they're using Apache 1.(something) and PHP 4.
-Thanks in advance
EDIT: Apperantly the server is using something called ensim control panel. This is apperantly some sort of security tool. I'm not really familar with it, so any help would be appreciated.