[nycphp-talk] ftp_connect(): php_network_getaddresses: gethostbyname failed
Rahmin Pavlovic
rahmin at insite-out.com
Mon Jul 7 17:37:41 EDT 2008
On Jul 7, 2008, at 4:26 PM, anthony wlodarski wrote:
>
> $ftp_server = "ftp.domain.com";
>
> // set up a connection or die
> $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to
> $ftp_server");
That's exactly what produces the error warning. (I actually had
single-quotes, but same result either way.)
When I ftp via shell, I get a 220 response straight-away, which makes
me think something else is going on..
More information about the talk
mailing list