|
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]
|