hi
basic question about www-authenticate header...(least i hop its simple)
i have the code:
<?php
header("WWW-Authenticate: basic realm='a realm'");
header("HTTP/1.0 402 Unauthorized");//dont understand
//what this line does
echo "you didnt login yet\n"; //understand it but want
//something else like a header sent out...
dont understand what the second line is for and was wondering if that third
line that someone gets when you hit cancel can be turned into another
header? or is there a way to force a header block even if output has already
been put on the screen?














---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to