Oups... I missed that "register_shutdown_function" function. Thanks Marek. Benja.
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Manual -> Features -> Connection handling Benja wrote: >Hi all, >is it possible to know in PHP if the client hit the stop button or close the >browser ? > >Here is what I read on a forum : > >---------------- > > >>I was told you cannot when I asked 'way back when. >> >>When the user hits stop, the pipe is broken. >>Apache will attempt to spit out some more data, and will "notice" the pipe >>is broken, and will stop. >>But Apache doesn't inform PHP that the pipe broke. >> >>At least that's my vague recollection of what goes on. >> >> > >More or less correct. Hopefully we will have this resolved soon. > >-Rasmus >---------------- > >But it was in 1999 ! Is it possible to do it now ? > >Thanks for your help, >Benja. > >-- >Benjamin Fonzé - [EMAIL PROTECTED] >WEB DEVELOPER >_________________________________________________________ > >ELECTRONIC GROUP INTERACTIVE - www.electronic-group.com >World Trade Center, Moll de BARCELONA >Edificio Norte 4 Planta >08039 BARCELONA SPAIN >Tel : +34 93600 23 23 Fax : +34 93600 23 10 >_________________________________________________________ > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php