Genius! Thank thank thankyou!
If I wasn't well rested I'd kiss you. Or more appropriately, I'd kiss the
person that programmed that function in the first place...*rubs hands*
Oh the fun I'm going to have figuring a way to actually use this for
anything other than mail()...
--
Plutarck
Should be working on something...
...but forgot what it was.
""Steve Werby"" <[EMAIL PROTECTED]> wrote in message
01b501c0be46$14cb7480$6501a8c0@workstation7">news:01b501c0be46$14cb7480$6501a8c0@workstation7...
> "Peter Kuppelwieser" <[EMAIL PROTECTED]> wrote:
> > I have an problem with on of our scripts, and some caching proxy servers
> >
> > the script produces output, then it does a flush(),
> > After this, the script does a sleep(10) and then it does a db-query
> without
> > producing html output.
> >
> > normally the browsers get the page after the flush() command
> > but on some proxy servers, the page is forwarded to the browser
> > only after the proxy server has terminated the connection to the apache
> > webserver (after the 10 secs).
> >
> > my question:
> >
> > Is it possible to terminate the tcpIP connection, before the php script
> ends?
> > (I think this would solve my problem)
>
> Perhaps register_shutdown_function() will do the trick. I've used it on
> scripts where a call to an external command or long DB operation took a
long
> time, but didn't affect the browser output.
>
> --
> Steve Werby
> President, Befriend Internet Services LLC
> http://www.befriend.com/
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]