Yes, that would be simple... if you was thinking about not showing the
'Realm' variable.
I've never heard of any way of ridding yourself of the Site stuff..

if(!isset(PHPAUTH_USER)) {
    header('WWW-Authenticate: Basic realm=""');
    header('HTTP/1.0 401 Unauthorized');
    echo "Some error message goes here";
    exit;
}

The code above removes the Realm variable.

but if I were you, I'd go for Sessions instead..


good luck

André Jørgensen


"Jeremy Morano" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Is there anyway that I can hide my website name in the authenticate
window?
>
> if ( ! $auth ) {
>
>     header( 'WWW-Authenticate: Basic realm="Private");
>     header( 'HTTP/1.0 401 Unauthorized' );
>     echo 'Authorization Required.';
>     exit;
>
> }



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to