[nycphp-talk] http headers & measuring size of string in 'bits'
Jon Baer
jonbaer at jonbaer.net
Wed May 5 16:18:11 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The script could just be timing out with a large amount of records ...
look @ stream_set_timeout for examples, see:
www.php.net/stream_set_timeout. I used this for a large db query once.
- - Jon
Eric Rank wrote:
| Howdy folks,
|
| I'm working on generating a file on the fly by sending headers and echoing
| out the content of the file. The trouble is that the php script that does
| this makes a database query to retrieve the content, and it seems to cause
| problems. Merely echoing out the string if content itself works fine. In
| short, the process looks like this:
- --
pgp key: http://www.jonbaer.net/jonbaer.asc
fingerprint: F438 A47E C45E 8B27 F68C 1F9B 41DB DB8B 9A0C AF47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAmUwDQdvbi5oMr0cRAg+6AKDiQyn3n2zyt02u5+JiEVStTEEOtwCfYt/W
ZA36UgdFQ07GEHcej7ZoOkU=
=UUA0
-----END PGP SIGNATURE-----
More information about the talk
mailing list