Re: sockets and flush()

From: Date: Tue, 09 Apr 2002 18:11:32 +0000
Subject: Re: sockets and flush()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92268@lists.php.net to get a copy of this message
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 | `----------------------------------------------'

« previous php.general (#92268) next »