note 89275 deleted from function.gzcompress by danbrown

From: Date: Sun, 01 Mar 2009 02:17:19 +0000
Subject: note 89275 deleted from function.gzcompress by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151282@lists.php.net to get a copy of this message
Note Submitter: Rick Reason: bad code ---- headers(' whatever '); should come right after the php opening or they will be ignored. <?php //ini_set('display_errors', '1'); header('Content-Encoding: gzip'); header("Content-Disposition: attachment; filename=\"awards.xml\""); and the rest ... exit; ?> Sometimes an "exit" at the end also helps. uncomment the ini_set to see those nasty header errors

« previous php.notes (#151282) next »