NYCPHP Meetup

NYPHP.org

[nycphp-talk] http headers & measuring size of string in 'bits'

Eric Rank erank at isthmus.com
Wed May 5 17:27:22 EDT 2004


Thanks for the help Jon,

I think I jumped the gun a little bit on this one. Another guy I work with
was testing this thing, and it didn't work for him, but it works on all
other computers I've tried. But that itself doesn't mean the php is right
yet.

Thanks

Eric


----- Original Message ----- 
From: "Jon Baer" <jonbaer at jonbaer.net>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Wednesday, May 05, 2004 3:18 PM
Subject: Re: [nycphp-talk] http headers & measuring size of string in 'bits'


> -----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-----
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list