RE: [PHP] ftp_problem - ... php_network_getaddresses: getaddrinfo failed: ...
| From: | vic | Date: | Sat, 26 Oct 2002 04:48:26 +0000 |
| Subject: | RE: [PHP] ftp_problem - ... php_network_getaddresses: getaddrinfo failed: ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121512@lists.php.net to get a copy of this message | ||
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 | www.argilent.com
-----Original Message-----
From: victor [mailto:victor@argilent.com]
Sent: Saturday, October 26, 2002 12:34 AM
To: php-general@lists.php.net
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 | www.argilent.com
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca