Pues estoy haciendolo todo de manera local así que los datos son los de mi ordenador, estoy con el Xampp para montar el servidor, estoy usando el codigo del segundo enlace de poos y es el que me da fallos:
Código:
Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 16
Warning: ftp_login() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 17
Warning: ftp_pasv() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 18
Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 16
Warning: ftp_login() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 17
Warning: ftp_pasv() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 18
Warning: ftp_pwd() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 33
Warning: ftp_quit() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/inc/ftpfunc.php on line 34
El directorio actual es:
Warning: ftp_nlist() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/envia.php on line 62
Warning: array_reverse() expects parameter 1 to be array, null given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/envia.php on line 63
Warning: array_pop() expects parameter 1 to be array, null given in /Applications/XAMPP/xamppfiles/htdocs/proyecto/envia.php on line 64
esos son los fallos usando ese codigo