Re: [PHP] ftp_problem - ... php_network_getaddresses: getaddrinfofailed: ...

2002-10-25 Thread John Nichel
Yes, if the machine can't get to the site, then php won't be able too.

vic wrote:

Could this be the problem?







--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] ftp_problem - ... php_network_getaddresses: getaddrinfofailed: ...

2002-10-25 Thread John Nichel
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 | www.argilent.com  

-Original Message-
From: vic [mailto:siliconhype@;yahoo.ca] 
Sent: Saturday, October 26, 2002 12:48 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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 | www.argilent.com  

-Original Message-
From: victor [mailto:victor@;argilent.com] 
Sent: Saturday, October 26, 2002 12:34 AM
To: [EMAIL PROTECTED]
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