note 81653 rejected from function.header by tularis

From: Date: Sat, 08 Mar 2008 18:14:40 +0000
Subject: note 81653 rejected from function.header by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-136841@lists.php.net to get a copy of this message
Note Submitter: acc dot validate at gmail dot com ---- I tried to force multiple headers : header("Content-Disposition: atachment; filename=$fullname"); header("Content-Type: application/octet-stream"); header("Content-Length: ".filesize("$path/$fd")); header("Pragma: no-cache"); header("Expires: 0"); but then PHP gave me " Cannot modify header information" error what's wrong with the code above?

« previous php.notes (#136841) next »