Estoy haciendo un post para resolver una ruta ip pero no me funciona , alguien me ayuda ?
Código PHP:
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://whatismyipaddress.com/staticpages/index.php/tools-traceroute-result");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST['LOOKUPADDRESS']);
echo $content = curl_exec ($ch);
curl_close ($ch);
?>
<form action="" method="post">
<input type="text" name="LOOKUPADDRESS" value="190.134.164.19" size="20" />
<input type="submit" name="Lookup IP Address" value="Lookup IP Address" />
</form>
MENSAJE : No User-Agent
Your browser, plug-in, or script is not passing a user-agent string. Unfortunately due to continued abuse we cannot serve the requested page to you. Please try using a different [email protected] to properly configure your Dynamic DNS client.1
Saludos y gracias .