RE: [PHP] sockets and flush()

From: Date: Tue, 09 Apr 2002 18:51:04 +0000
Subject: RE: [PHP] sockets and flush()
Groups: php.general 
Request: Send a blank email to php-general+get-92283@lists.php.net to get a copy of this message
Are you using ob_start () and ob_end_flush() ? If not then declaring ob_start () as the very first "<? ob_start ("ob_gzhandler");" function call and ob_end_flush() where you want the string to output should do the trick. ____________________________ Matthew Luchak Webmaster Kaydara Inc. mluchak@kaydara.com -----Original Message----- From: Dietrich Ayala [mailto:dietrich@ganx4.com] Sent: Tuesday, April 09, 2002 5:39 PM To: robert.cummings@webmotion.com Cc: php-general@lists.php.net Subject: RE: [PHP] sockets and flush() no tables. my test script prints a single string prior to the sockets code. thx, dietrich > -----Original Message----- > From: robert.cummings@webmotion.com > [mailto:robert.cummings@webmotion.com] > Sent: Tuesday, April 09, 2002 11:12 AM > To: dietrich > Cc: php-general@lists.php.net > Subject: Re: [PHP] sockets and flush() > > > dietrich wrote: > > > > i have a script that makes a socket connection about halfway through the > > page. > > > > nothing on the page prints until the socket operation is finished, even if i > > call flush() prior to the socket operation. > > > > does anyone now of a way to force PHP to output the buffer prior to > > executing the socket code? > > > > thanks! > > > > dietrich > > dietrich@ganx4.com > > dietrich.ganx4.com > > Are you using Netscape 4.x and possibly making the socket connection > while inside a main table tag? Nescape 4.x series doesn't usually draw > a table until the close tag is found or the page ends. > > Cheers, > Rob. > -- > .-----------------. > | Robert Cummings | > :-----------------`----------------------------. > | Webdeployer - Chief PHP and Java Programmer | > :----------------------------------------------: > | Mail : mailto:robert.cummings@webmotion.com | > | Phone : (613) 731-4046 x.109 | > :----------------------------------------------: > | Website : http://www.webmotion.com | > | Fax : (613) 260-9545 | > `----------------------------------------------' > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#92283) next »