title: prevent browser timeout while running single line in php
body: <p>What is the most simple way to prevent browser timeout while running a single line in php ? for example running stream_socket_client on a host takes 5 minute for initiation of the connection (not reading and writing to it, just initiation) now when php gets to this line, browser usually time outs. I know that flushing something to the output can prevent such thing but how should I do that when a single command is running.</p>