[nycphp-talk] php script timeout not working
Corey H Maass - gelform.com
corey at gelform.com
Mon Apr 6 20:38:19 EDT 2009
> Two options. Use fsockopen() instead of fopen(), see the
> stream_set_timeout() documentation for examples. Or use
> ini_set('default_socket_timeout', 1) before you call fopen().
Ooh, this worked:
ini_set('default_socket_timeout', 1);
@fopen("http://dubfiler/upload/tos3/Id/11", "r");
Had to use @ to suppress the warning that I was exceeding the timeout,
but otherwise. Thanks!
Corey
//
Corey H Maass
Gelform Design
Brooklyn, NY
Web design and development for art and business
em corey at gelform.com
ww http://www.gelform.com
ph 646/228.5048
fx 866/502.4861
IM gelform
More information about the talk
mailing list