Code: Select all
Warning: php_network_getaddresses: gethostbyname failed in c:\www\soft\get.php on line 80
Fatal error: Maximum execution time of 30 seconds exceeded in c:\www\soft\get.php on line 80The code fragment:
Code: Select all
if ($FTPcon3 = ftp_connect($server3, 21, 90)) {
if (ftp_login($FTPcon3, $user3, $pass3)) {
if (ftp_chdir($FTPcon3, $remoteDir3)) {
if (ftp_fget ($FTPcon3, $fp3, "file.txt", FTP_ASCII)) {
//some code here
}
}
}
}
print "test";