php function to get data from a stream
Posted: Mon Apr 26, 2010 2:55 pm
i have a shell script running on a machine and it generates lot of output for about a few mins.
i need a php function to retrieve the output instantaneously, i tried stream_get_contents but it gave me the entire output once script finsihed executing.
any ideas guys??
i need a php function to retrieve the output instantaneously, i tried stream_get_contents but it gave me the entire output once script finsihed executing.
any ideas guys??