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! 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 '^]'. SSH-2.0-OpenSS

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 wrote: > On Thu, May 28, 2009 at 2:31 AM, HELP! 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 d

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! 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 so put the po

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 wrote: > On Wed, May 27, 2009 at 09:08, Stuart wrote: > > > > There's like 37 different thi

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 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 will help.

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

2009-05-27 Thread Stuart
2009/5/27 HELP! : > 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, but your better

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 wrote: > 2009/5/27 HELP! : > > start> run> cmd> > > telnet ip port > > > > could not connect > > In that case your problem is not with PHP. I sug

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

2009-05-27 Thread Stuart
2009/5/27 HELP! : > 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 wrote: >> >> 2009/5/27 HELP! : >> > I have made the co

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

2009-05-27 Thread Stuart
2009/5/27 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( "

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{

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

2009-05-27 Thread Stuart
2009/5/27 HELP! : > $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 ... "$con://$

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 wrote: > 2009/5/27 HELP! : > > Hi, > > error: > > php_network_getaddresses: getaddrinfo failed: No such host is known > > > > $fstream = stream_socket_client("$con:$ip:$port", $errno, $errstr, > > $tim

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

2009-05-27 Thread Stuart
2009/5/27 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); >

[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: $st

Re: [PHP] php_network_getaddresses()

2003-01-12 Thread Jason Sheets
Include will evaluate the file as PHP code, that most likely is not what you want it to do. Take a look at file_get_contents(), manual page available at http://www.php.net/manual/en/function.file-get-contents. Jason phpSun, 2003-01-12 at 19:36, Stanislav Skrypnik wrote: > Hi all, > I have the pr

[PHP] php_network_getaddresses()

2003-01-12 Thread Stanislav Skrypnik
Hi all, I have the problem with this peace of code. This code has to include file containing some Javascript functions. http://mysite/";); $javascript=PATH."inc/javascript_functions.js"; include ($javascript); ?> When I run this I got message: "Warning: php_network_getaddresses: getaddrinfo faile

[PHP] 'php_network_getaddresses'

2003-01-05 Thread zzori
I didn't wrote english well, Apache 1.3.27 + PHP 4.2.3 Compiled option ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local \ --enable-trans-sid \ --enable-track-vars \ --with-zlib-dir=/usr/lib \ --with-zlib \ --enable-ftp \ --enable-calendar \ --enable-exif \ --

Re: [PHP] php_network_getaddresses

2002-05-04 Thread Julian
> > $ ping nancies.org > > PING nancies.org (207.8.144.57): 56 data bytes > > 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms > > 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms > > 64 bytes from 207.8.144.57: icmp_seq=2 ttl=64 time=0.036 ms > > 64 bytes from 207.8.144.57:

Re: [PHP] php_network_getaddresses

2002-05-04 Thread Miguel Cruz
On Sat, 4 May 2002, Julian wrote: >> Try just pinging www.nancies.org from the command line. > $ ping nancies.org > PING nancies.org (207.8.144.57): 56 data bytes > 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms > 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms > 64 bytes

Re: [PHP] php_network_getaddresses

2002-05-04 Thread Pag
> >nancies is local, so I'm not suprised that the pings came back ok. We did >put up a firewall about a week ago that blocks pings from the outside >though. Since everything is local though, I'm not sure why we would have >this problem. I have this problem too, i mean, the same warnin

Re: [PHP] php_network_getaddresses

2002-05-04 Thread Julian
> Try just pinging www.nancies.org from the command line. $ ping nancies.org PING nancies.org (207.8.144.57): 56 data bytes 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms 64 bytes from 207.8.144.57: icmp_seq=2 ttl=64 time=0.0

Re: [PHP] php_network_getaddresses

2002-05-03 Thread Miguel Cruz
nslookup is not a good exclusive tool for testing local resolver problems, because it may do its own resolution. Try just pinging www.nancies.org from the command line. miguel On Fri, 3 May 2002, Julian wrote: > Hey All, > I get the following error: > > Warning: php_network_getaddresses: geta

[PHP] php_network_getaddresses

2002-05-03 Thread Julian
Hey All, I get the following error: Warning: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/home/roshi/htdocs/includes/rightcont_nanciesorg.inc.php on line 57 Warning: fopen("http://www.nancies.org/news/rss/","r";) - Bad file descriptor in /usr/home/rosh