Posted by fipaj1992@gmail.com on 10/13/05 20:43
Steve:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses:
getaddrinfo failed: Temporary failure in name resolution in
/home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php on
line 5
Warning: fsockopen() [function.fsockopen]: unable to connect to
chrome.pl:5222 (Unknown error) in
/home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php on
line 5
Warning: fwrite(): supplied argument is not a valid stream resource in
/home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php on
line 8
Warning: fread(): supplied argument is not a valid stream resource in
/home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php on
line 9
Warning: fclose(): supplied argument is not a valid stream resource in
/home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php
I'm sure that something is wrong with my server/php configuration. But
what?
PS.
Script:
<?php
$fp = fsockopen("www.chrome.pl", 8080, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
}
?>
Result:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses:
getaddrinfo failed: Temporary failure in name resolution in
/home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php on
line 2
Warning: fsockopen() [function.fsockopen]: unable to connect to
www.chrome.pl:8080 (Unknown error) in
/home/fipaj/serwer/works/jabber-php/class_jabber_php-0.4.2/test1.php on
line 2
(-1213682620)
[Back to original message]
|