note 25046 rejected from function.readfile by betz

From: Date: Mon, 09 Sep 2002 08:52:58 +0000
Subject: note 25046 rejected from function.readfile by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36380@lists.php.net to get a copy of this message
Anybody gota clue? I Added code like ... header("Content-type: audio/mpeg"); $size = filesize("files/$filename"); header("Content-Length: $size"); header("Content-Disposition: attachment; filename=$filename"); if (@readfile("files/$filename")) { ... } Problem is... when the user hits the cancel button, the browser crashes (e.g. I can't use any links on the original page) I would really appreciate any help... Geoffrey

« previous php.notes (#36380) next »