note 61437 rejected from function.session-start by sp

From: Date: Fri, 03 Feb 2006 09:32:58 +0000
Subject: note 61437 rejected from function.session-start by sp
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-102922@lists.php.net to get a copy of this message
Note Submitter: www.trydofor.com ---- <?php session_start(); $file = "../engine/fingerprint_local"; if (file_exists($file)) { header("Content-type: application/force-download"); header("Content-length: ".filesize($file)); header("Content-Transfer-Encoding: Binary"); header("Content-disposition: attachment;filename=fingerprint_remote;"); readfile($file); }else{ echo "no file found !"; } ############################## # in IE, it do not work,but mozilla works well. # when comment session_start(); # both are work well. # why? and how to fix it? ############################## ?>

« previous php.notes (#102922) next »