Porque usando copy no funciona, me lanza el siguiente error:
Warning: copy(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /opt/lampp/htdocs/pruebas/imagenes.php on line 20
Warning: copy(): Failed to enable crypto in /opt/lampp/htdocs/pruebas/imagenes.php on line 20
Warning: copy(https://images-na.ssl-images-amazon....zpEl8PYL.jpg): failed to open stream: operation failed in /opt/lampp/htdocs/pruebas/imagenes.php on line 20
Un saludo