Re: AW: AW: [PEAR-DEV] [Call for Votes] HTTP_Download
| From: | Michael Wallner | Date: | Thu, 02 Oct 2003 09:44:38 +0000 |
| Subject: | Re: AW: AW: [PEAR-DEV] [Call for Votes] HTTP_Download | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22304@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Stephan Schmidt, you wrote:
> Let's say you are dynamically creating a the downloadable
> file, you most probably have a filepointer to which the data
> is written. Then you close the filepointer and hand over the
> filename. HTTP_Download is now opening the file again. So why
> not just rewind($fp) and hand this over to HTTP_Download.
Well, but if you create this download dynamically everytime, you
cloud use setData(), and if not you want to save your data
anyways, even probably not simultaneously to a download.
- --
Michael - < mike(@)php.net >
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Cygwin)
iD8DBQE/e/OG3645gzRPvy8RApxQAKCK5p28YHkG08KOzIYs8FErxJ3WxgCdFgMu
XFvHA+1YYY7Rg+dK5a3ET3Y=
=cVOj
-----END PGP SIGNATURE-----