Re: [PHP] Connection handling and output_buffering

2004-02-23 Thread Matt Matijevich


Was reading through:
http://uk.php.net/manual/en/features.connection-handling.php 

And I was wondering how PHP handles script termination when you have 
'output_buffering = On' in your php.ini?

If I have a long script that does lots of database stuff for example, 
and is riddled with echo() function calls, how will php handle a user 
clicking stop in their browser half way through?



I think http://www.php.net/manual/en/function.ignore-user-abort.php
will give you some of the info you want

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Connection handling and output_buffering

2004-02-23 Thread neko
Hi guys,

Was reading through:
http://uk.php.net/manual/en/features.connection-handling.php
And I was wondering how PHP handles script termination when you have 
'output_buffering = On' in your php.ini?

If I have a long script that does lots of database stuff for example, 
and is riddled with echo() function calls, how will php handle a user 
clicking stop in their browser half way through?

I'm guessing that it WILL continue execution to the end, then when you 
send the buffer back to the client it determines that the client stopped 
the request and it terminates.

I guess some simple testing will suffice!

Neko

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php