[PHP] fwrite() timeout

2006-11-06 Thread Martin Cetkovsky
Hi, I am using the fsockopen(), fwrite() and fread() functions to get a web page from a remote server. The remote server is currently down and I see the code hangs on the fwrite() call. Is there a way how to set a timeout for the fwrite() remote call? I have found the stream_set_timeout()

Re: [PHP] Microsoft Partners With Zend

2006-11-06 Thread Martin Cetkovsky
Jay Blanchard wrote: [snip] I guess that's sorta what I'm afraid of... PHP# (like the did to Java -> J++ -> C# ) Don't get me wrong. C# is a great language (probably one of the few things that M$ did right), and I'd LOVE to use a real IDE like Visual Studio to dev in... But I'm also ter

Re: [PHP] Microsoft Partners With Zend

2006-11-06 Thread Martin Cetkovsky
On Wed, 01 Nov 2006 23:23:15 +0100, "Jay Blanchard" <[EMAIL PROTECTED]> wrote: [snip] I guess that's sorta what I'm afraid of... PHP# (like the did to Java -> J++ -> C# ) Don't get me wrong. C# is a great language (probably one of the few things that M$ did right), and I'd LOVE to use a r

[PHP] fwrite() timeout

2006-11-06 Thread Martin Cetkovsky
Hi, I am using the fsockopen(), fwrite() and fread() functions to get a web page from a remote server. The remote server is currently down and I see the code hangs on the fwrite() call. Is there a way how to set a timeout for the fwrite() remote call? I have found the stream_set_timeout(), b