note 72129 deleted from function.header by nlopess

From: Date: Thu, 04 Jan 2007 15:30:45 +0000
Subject: note 72129 deleted from function.header by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-121287@lists.php.net to get a copy of this message
Note Submitter: Programmer from www.geo-soft.net ---- That doesn't work: <? header("WWW-Authenticate: Basic realm=\"Login\""); header("HTTP/1.0 401 Unauthorized"); ?>Text<?flush();?> Other Text ?> To fix it: <? header("WWW-Authenticate: Basic realm=\"Login\""); header("HTTP/1.0 401 Unauthorized"); @ob_end_clean(); //FIX ?>Text<?flush();?> Other Text ?>

« previous php.notes (#121287) next »