Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread HELP!
now I have been able to telnet to the server IP but it defaulting to port 23 instead of the port I specified ( telnet ip port). How do u correct this problem On Wed, May 27, 2009 at 2:40 PM, Daniel Brown danbr...@php.net wrote: On Wed, May 27, 2009 at 09:08, Stuart stut...@gmail.com wrote:

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 2:31 AM, HELP! izod...@gmail.com wrote: now I have been able to telnet to the server IP but it defaulting to port 23 instead of the port I specified ( telnet ip port). How do u correct this problem rtfm telnet translates to man telnet which says telnet host port

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread HELP!
I have done that. o host port or telnet host port On Thu, May 28, 2009 at 9:39 AM, Nathan Nobbe quickshif...@gmail.comwrote: On Thu, May 28, 2009 at 2:31 AM, HELP! izod...@gmail.com wrote: now I have been able to telnet to the server IP but it defaulting to port 23 instead of the port I

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 2:40 AM, HELP! izod...@gmail.com wrote: I have done that. o host port or telnet host port thats pretty odd.. a quick test on my box, looks like it works fine, phdelnnobbe:~ nnobbe$ telnet host 22 Trying xx.xx.xx.xx... Connected to host. Escape character is '^]'.

[PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread HELP!
Hi, error: php_network_getaddresses: getaddrinfo failed: No such host is known $fstream = stream_socket_client($con:$ip:$port, $errno, $errstr, $timeout); if($fstream){ $br = fwrite($fstream,$login_request_block); $str = stream_get_contents($fstream); print( Connection successful: $str

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread Stuart
2009/5/27 HELP! izod...@gmail.com: Hi,  error: php_network_getaddresses: getaddrinfo failed: No such host is known  $fstream = stream_socket_client($con:$ip:$port, $errno, $errstr, $timeout);  if($fstream){  $br = fwrite($fstream,$login_request_block);  $str =

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread HELP!
$port =xx; $ip =xx; $con =$transport = tcp; On Wed, May 27, 2009 at 1:24 PM, Stuart stut...@gmail.com wrote: 2009/5/27 HELP! izod...@gmail.com: Hi, error: php_network_getaddresses: getaddrinfo failed: No such host is known $fstream = stream_socket_client($con:$ip:$port, $errno,

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread Stuart
2009/5/27 HELP! izod...@gmail.com: $port =xx;  $ip =xx;  $con =$transport = tcp; Which part of See the manual for details confused you? You're passing ... $con:$ip:$port ... which based on the above will translate to ... tcp:xx:xx ... which is invalid. It should be ...

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread HELP!
I have made the correction but the error remiins: $port =xx; $ip =xx $con =tcp; $timeout = 30; $fstream = stream_socket_client($con://$ip:$port, $errno, $errstr, $timeout); if($fstream){ $str = stream_get_contents($fstream); print( Connection successful: $str ); } else{ echo

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread Stuart
2009/5/27 HELP! izod...@gmail.com: I have made the correction but the error remiins: $port =xx;  $ip =xx  $con =tcp;  $timeout = 30;  $fstream = stream_socket_client($con://$ip:$port, $errno, $errstr, $timeout);  if($fstream){   $str = stream_get_contents($fstream);   print(

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread Stuart
2009/5/27 HELP! izod...@gmail.com: start run cmd telnet ip port could not connect In that case your problem is not with PHP. I suggest you talk to your network administrator. -Stuart -- http://stut.net/ On Wed, May 27, 2009 at 1:44 PM, Stuart stut...@gmail.com wrote: 2009/5/27 HELP!

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread HELP!
I am using a single pc and i have enable firewall access. Could it be that the remote server is having trouble On Wed, May 27, 2009 at 2:02 PM, Stuart stut...@gmail.com wrote: 2009/5/27 HELP! izod...@gmail.com: start run cmd telnet ip port could not connect In that case your problem

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread Stuart
2009/5/27 HELP! izod...@gmail.com: I am using a single pc and i have enable firewall access. Could it be that the remote server is having trouble There's like 37 different things it could be, none of which have anything to do with PHP. You may find someone on this list willing to help you out,

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-27 Thread Daniel Brown
On Wed, May 27, 2009 at 09:08, Stuart stut...@gmail.com wrote: There's like 37 different things it could be, none of which have anything to do with PHP. You may find someone on this list willing to help you out, but your better bet would be to find a list more suited to the problem. I