note 80194 added to function.header
| From: | geoffrey dot hoffman at gmail dot com | Date: | Thu, 03 Jan 2008 19:39:03 +0000 |
| Subject: | note 80194 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-134728@lists.php.net to get a copy of this message | ||
Be sure to check that the path to the file you are trying to download is correct.
I thought I had done everything right... because the script I was working on prompted for a filename
and where to save it, but it was always zero bytes. I tried all different combinations of headers,
fread, readfile, get_file_contents to no avail.
Fiddling with headers doesn't help you if you are reading the wrong (null) file path... which
was apparent after reading the error log.
----
Server IP: 69.147.83.197
Probable Submitter: 63.226.63.68
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/80194
Del: integrated -- https://master.php.net/note/delete/80194/integrated
Del: useless -- https://master.php.net/note/delete/80194/useless
Del: bad code -- https://master.php.net/note/delete/80194/bad+code
Del: spam -- https://master.php.net/note/delete/80194/spam
Del: non-english -- https://master.php.net/note/delete/80194/non-english
Del: in docs -- https://master.php.net/note/delete/80194/in+docs
Del: other reasons-- https://master.php.net/note/delete/80194
Reject -- https://master.php.net/note/reject/80194
Search -- https://master.php.net/manage/user-notes.php