Okay, I deleted the other stuff and just put this code and I get this from my interpreter? Is this a setting problem?
Thanks, Peter <?php Header ("WWW-authenticate: Basic realm=\"Private\""); Header ("HTTP/1.0 401 Unauthorized"); echo "Unauthorized"; exit; ?> [Mon Feb 04 22:36:30 2002] [error] [client 127.0.0.1] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: /apache/php/php.exe "Niklas lampén" <[EMAIL PROTECTED]> wrote in message 007701c1ae09$1bde80b0$ba93c5c3@Niklas">news:007701c1ae09$1bde80b0$ba93c5c3@Niklas... > There can't be _anything_ before headers. Even a single space and/or > linebreak causes an error. > > > Niklas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php