faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 4 people (25%) answered Yes
Recently 1 of 4 people (25%) answered Yes

Entry

Is there a way for a client to get a PHP script executed when its browser is terminated?

Mar 28th, 2002 04:18
Deepak Kumar Vasudevan, georges guyot, PHP Documentation


Hi,
You can use PHP's builtin function 
connection_aborted 
which will return TRUE/FALSE.
deepak