Can you ftp to the site from the box that the script is running on (via command line or GUI client)?

vic wrote:
Never mind, problem NOT solved, I made an error in an earlier script and
that error interrupted this one so I thought it cleared, but alas, it
did not, so help still needed, if available, thanks.

- Victor |
-----Original Message-----
From: vic [mailto:siliconhype@;] Sent: Saturday, October 26, 2002 12:48 AM
Subject: RE: [PHP] ftp_problem - ... php_network_getaddresses:
getaddrinfo failed: ...

Ok, found problem, script ok, but a $_POST['...']; needed to be added to
the secure script as it was taking the pass from a form.

- Victor |
-----Original Message-----
From: victor [mailto:victor@;] Sent: Saturday, October 26, 2002 12:34 AM
Subject: [PHP] ftp_problem - ... php_network_getaddresses: getaddrinfo
failed: ...

Any tips on trouble shooting this problem?

Warning: php_network_getaddresses: getaddrinfo failed: Name or
service not known in /xxx/xxx/xxx/xxx/new_user.php on line 121
Could not establish FTP connection.

This is the code the error refers to:

# set up basic connection
$conn_id = ftp_connect($ftp_server)
or die ('Could not establish FTP connection.');

The config file is somewhere else on the server - outside the public dir
for sec. reasons.

The info is correct. - I cannot divulge it, but it is correct (or let's
assume it is), so where to now???

- Victor |

______________________________________________________________________ Post your free ad now!

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to