Re: fopen, fsockopen on my virtual host
| From: | Richard Lynch | Date: | Mon, 31 Jan 2005 17:57:59 +0000 |
| Subject: | Re: fopen, fsockopen on my virtual host | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207789@lists.php.net to get a copy of this message | ||
Al wrote:
> I've got a script that fetches a stream from a file on our virtual host.
> Its
> been working fine; but, yesterday they changed something and it no longer
> works.
Can you define "no longer works" a bit more clearly...
Error messages?
Just times out?
What?
> $fp= fsockopen("www.oursite.org", 80, $errno, $errstr, 30);
>
> I can use any remote site and fscockopen works fine.
>
> Anyone have a suggestion as to how I deal with this problem?
if ($errno){
error_log("fsockopen errored out with # $errno: $errstr");
}
--
Like Music?
http://l-i-e.com/artists.htm