Hello, there is a way to make a fsockopen with unlimited timeout ? Like CURLOPT_TIMEOUT=0 ?
+2
A:
Use the $timeout
parameter.
It's right there in the manual: http://php.net/fsockopen
Daniel Egeberg
2010-07-29 10:14:30
For unlimited timeout i have to set this value to 0, right ?
Fabien Bernede
2010-07-29 10:24:57
and prepend set_time_limit(0) to my php file ?
Fabien Bernede
2010-07-29 10:25:22
@Fabien: Yes and yes.
Daniel Egeberg
2010-07-29 10:35:52