ftp_connect error w/ 4.3.4RC1

From: Date: Mon, 29 Dec 2003 15:57:19 +0000
Subject: ftp_connect error w/ 4.3.4RC1
Groups: php.general 
Request: Send a blank email to php-general+get-173431@lists.php.net to get a copy of this message
I get the following error when running a script from CRON using PHP 4.3.4RC1 on FreeBSD (CRON statement) /usr/local/bin/php -q /usr/local/www/data.default/crm/parsecdr.php PHP Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/local/www/data.default/crm/parsecdr.php on line 36 // ftp variables $ftp_server = "rc.server.name"; $ftp_user = "user"; $ftp_pass = "pass"; // connect to ftp server $ftpc = ftp_connect($ftp_server); <---- LINE 36 I have searched everywhere, inlcuding bug reports that lead nowhere. Can anyone point me in the right direction? (I had no problems with this on previous versions of PHP and this has cropped up since the upgrade.) TIA and Happy Holidays!

« previous php.general (#173431) next »