Hello Børge,

Tuesday, January 13, 2004, 12:19:24 PM, you wrote:

BS> thaks for clarifying that to me. The only problem now is that I get a
BS> timeout in my script because fopen() failed to open the stream.

You can increase the timeout limit of a script.

If you cannot be sure the other web site is going to be up then it's
probably best to look at an alternative method of obtaining the data
from the site.

BS> I have checked that the address is okay. I manage to open another
BS> site, but not this file which is on my ISP. Actually, manual telnet to
BS> port 80 of my web site failed. Does the way fopen() accesses the web
BS> different from how Internet Explorer does it?

It passes a different header to Internet Explorer, but technically is
doing the same thing (i.e. requesting the page via HTTP).

-- 
Best regards,
 Richard                            mailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to