RE: [PHP] Using PHP and Apache's .htaccess files.

2002-06-20 Thread Matt Schroebel
> -Original Message- > From: Todd Fernandes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 20, 2002 3:07 PM > The way I have it working now is that I check to see if > $PHP_AUTH_USER is > set, and if it is, I send them to the page that is a > directory down behind > the .htaccess fi

[PHP] Using PHP and Apache's .htaccess files.

2002-06-20 Thread Todd Fernandes
Here is my question. It involves using PHP and apache's .htaccess files. What I basically want to know is, how do I redirect a bas user after a failed Authentication attempt. Example: One PHP script checks to see if $PHP_AUTH_USER is set and if not calls header( sprintf("WWW-authenticate: basic