RE: [PHP] Forcing htaccess login again

2001-02-26 Thread Chris Aitken
At 12:26 AM 27/02/2001, Sander Pilon wrote: >The request for a password is usually generated by a 401 header. Just do >this - > >Header("WWW-authenticate: basic realm=\"Some realm\""); >Header("HTTP/1.1 401 Unauthorized"); >exit; > >That should pop up a box. Just make sure you check the values of

RE: [PHP] Forcing htaccess login again

2001-02-26 Thread Sander Pilon
The request for a password is usually generated by a 401 header. Just do this - Header("WWW-authenticate: basic realm=\"Some realm\""); Header("HTTP/1.1 401 Unauthorized"); exit; That should pop up a box. Just make sure you check the values of $PHP_AUTH_USER/PW first before presenting those head