note 89275 added to function.gzcompress

From: Date: Sun, 01 Mar 2009 02:15:44 +0000
Subject: note 89275 added to function.gzcompress
Groups: php.notes 
Request: Send a blank email to php-notes+get-151281@lists.php.net to get a copy of this message
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 ---- Server IP: 208.69.120.35 Probable Submitter: 70.232.33.171 ---- Manual Page -- http://www.php.net/manual/en/function.gzcompress.php Edit -- https://master.php.net/note/edit/89275 Del: integrated -- https://master.php.net/note/delete/89275/integrated Del: useless -- https://master.php.net/note/delete/89275/useless Del: bad code -- https://master.php.net/note/delete/89275/bad+code Del: spam -- https://master.php.net/note/delete/89275/spam Del: non-english -- https://master.php.net/note/delete/89275/non-english Del: in docs -- https://master.php.net/note/delete/89275/in+docs Del: other reasons-- https://master.php.net/note/delete/89275 Reject -- https://master.php.net/note/reject/89275 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#151281) next »