/trunk/main/subprograms/pa |
---|
18,8 → 18,6 |
$res = "% Parsing via regex from '$url'\n\n"; |
$cont = file_get_contents($url); |
file_put_contents('tmpx', $cont); |
if (preg_match('@<h2>Nombre del Dominio:\s*(.+)\s*</h2>(.+)</div>@ismU', $cont, $m)) { |
$cont = "Domain ".$m[1].":\n".$m[2]; |
} |