note 20967 added to function.fpassthru
| From: | josh at trutwins dot homeip dot net | Date: | Tue, 23 Apr 2002 21:03:02 +0000 |
| Subject: | note 20967 added to function.fpassthru | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29734@lists.php.net to get a copy of this message | ||
I could not get the above examples to work. This is what I used instead:
header("Content-Disposition: attachment; filename=$file");
header("Content-Description: Image File");
$fd = fopen($file,'r');
fpassthru($fd);
--
http://www.php.net/manual/en/function.fpassthru.php
http://master.php.net/manage/user-notes.php?action=edit+20967
http://master.php.net/manage/user-notes.php?action=delete+20967
http://master.php.net/manage/user-notes.php?action=reject+20967