Per Jessen wrote:
Jason Freeman wrote:
Hi All
I am having a problem getting stream_set_blocking to work the way I
expect on STDIN. Please could someone tell me why while blocking is
set to false fread does not get anything.
When a file descriptor (stdin) is non-blocking, any read
Hi All
I am having a problem getting stream_set_blocking to work the way I
expect on STDIN. Please could someone tell me why while blocking is set
to false fread does not get anything. Sampe code follows:
Code:
".$pos."\r\n");
sleep(1);
}
stream_set_blocking(STDIN, true);
$pos = fread(ST
Hi there
I'm having a bit of trouble with executing system commands. My script reads as follows.
The problem is that when I run this script the page does not load and apache crashes.
Does anyone know a way around this problem??
Thanks
3 matches
Mail list logo