Código JPHP:
Ver original
<?php $pre = "http://api.erepublik.com/v2/feeds/countries/15/citizens.xml.gz"; $o = copy(($pre), "/es.xml.gz"); ?>
Y me da dos errores :S :
Cita:
Warning: copy() [function.copy]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/a9268525/public_html/index.php on line 9
Cita:
Warning: copy(http://api.erepublik.com/v2/feeds/co...itizens.xml.gz) [function.copy]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/a9268525/public_html/index.php on line 9