Re: After browser quit

From: Date: Sun, 30 Aug 2009 12:48:58 +0000
Subject: Re: After browser quit
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-297493@lists.php.net to get a copy of this message
Wouter van Eekelen wrote: > After a little search it seems to be possible to do that within php, > see: > > > http://nl.php.net/manual/en/function.register-shutdown-function.php > > This will call a function when the browser is stopped. No, it will certainly not. > Exactly what I needed! :) Thanks for your repsonse. I don't understand what it is you are trying to achieve, could you explain? If you really need something (anything) to happen when a user closes the browser then a. your script is probably ill designed and b. it can NOT be done with PHP. Martie is right, you will have to look into Javascript. But only after you have asked yourself "why?" and came up with a really good answer ;)

« previous php.general (#297493) next »