You are here: Re: Problem with fsockopen() « PHP Programming Language « IT news, forums, messages
Re: Problem with fsockopen()

Posted by Nico Busch on 10/12/05 21:19

fipaj1992@gmail.com wrote:
> Thanks for answers.
>
> But I have one more problem.
>
> Result of this script:
>
>
> Warning: fsockopen() [function.fsockopen]: unable to connect to
> http://chrome.pl:8080 (Unable to find the socket transport "http" - did
> you forget to enable it when you configured PHP?) in
> /home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php on
> line 2
>
> "Unable to find the socket transport "http" - did you forget to enable
> it when you configured PHP?" - I have PHP compiled from .deb package.
> I edit php.ini, but there's no any conf options for fsockopen(). How to
> "destroy" this error (:>) and run script?
>
> Best regards,
> Fipaj
>


Hi,
I'm sorry, but I just noticed that I've made a mistake in my answer.
HTTP ist based on the TCP/IP protocol and it is forbidden to define
http://chrome.pl as host. Do you want to connect to the website
www.chrome.pl on port 8080? Then you only have to write www.chrome.pl as
host name in your script. If my assumption is wrong, please concretise
your question.

best regards,
nico

 

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

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