|
|
Posted by Sanders Kaufman on 12/21/07 08:25
<Lado.Leskovec@gmail.com> wrote in message
news:507e6ff2-ff01-4202-b096-e949ee332737@e10g2000prf.googlegroups.com...
> On 20 dec., 21:40, "Sanders Kaufman" <bu...@kaufman.net> wrote:
> If I use it, the login screen pops up 3 times (perhaps it is
> handshaking or you only get 3 tries... I don't know). If I put
> anything in the function after the get_headers... like echo "test"; it
> outputs it on screen, but dies at:
It's the second one - 3 strikes and you're out.
> if (!isset($headers['Authorization'])){
> header('HTTP/1.1 401 Unauthorized');
> header('WWW-Authenticate: NTLM');
> exit;
> }
>
> the reason is probably the exit at the end... I guess
> $headers['Authorization'] is not set...
If you haven't already, what I'd do is put an echo of the server variables,
gets and posts arrays just before the exit - to see if the data got
collected.
Navigation:
[Reply to this message]
|