Código HTML:
<body class="capa" onLoad="SendSMS();"> <script type="text/javascript"> function SendSMS($to, $txt) { $user = "youraccount"; $pass = "yourpassword"; $from = "fromyou"; $txt = substr($txt, 0, 160); $url = "https://www.voipbuster.com/myaccount/sendsms.php?"; $url .= "username=".$user."&password=".$pass. $url .= "&from=".$from."&to=".$to."&text=".str_replace(" ", "%20", $txt); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); curl_close($ch); $results = explode("\n", $result); return $results[4]; } </script>