Re: Pipe broken

From: Date: Fri, 28 Mar 2003 13:12:21 +0000
Subject: Re: Pipe broken
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-141436@lists.php.net to get a copy of this message
Oups... I missed that "register_shutdown_function" function. Thanks Marek. Benja. "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message news:3E844979.9090705@webglobe.sk... 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é - benjamin.fonze@electronic-group.com >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 >_________________________________________________________ > > > > >

« previous php.general (#141436) next »