Trata de esta forma entonces
Código PHP:
Ver original<?php
$options = array('http' => 'header' => 'User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6' . PHP_EOL
. 'Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' . PHP_EOL
. 'Cache-Control: max-age=0' . PHP_EOL
. 'Connection: keep-alive' . PHP_EOL
. 'Keep-Alive: 300' . PHP_EOL
. 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' . PHP_EOL
. 'Accept-Language: en-us,en;q=0.5' . PHP_EOL
. 'Pragma: ' . PHP_EOL
)
);
$page = file_get_contents('http://consultas.curp.gob.mx/CurpSP/curp1.do?strPrimerApellido=TORRES&strSegundoAplido=ZAVALA&strNombre=ERIK%20FRANCISCO&strdia=22&strmes=01&stranio=1983&sEntidadA=DF&sSexoA=H&strTipo=A', false, $context); echo $page;