You are here: Re: [PHP] fopen, fsockopen on my virtual host « PHP « IT news, forums, messages
Re: [PHP] fopen, fsockopen on my virtual host

Posted by Richard Lynch on 01/31/05 19:57

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация