<?php
define("SERVER_IP","localhost");
define("SERVER_PORT",12345);
define("CONN_TIMEOUT",3);
define("BM_PROVIDER","rebvoice.com"); //Ein Betamax Dienst hier
define("BM_USERNAME","xxxx");
define("BM_PASSWORD","xxxx");
define("BM_FROM","+49...."); //Absender SMS-Nr
define("BM_TO","+49..."); //Empfaenger SMS-Nr
define("BM_MSG","Alles kaputt!!!"); //<-- Eigene Nachricht hier
$check = @fsockopen(SERVER_IP,SERVER_PORT,$errno,$errstr,CONN_TIMEOUT);
if($check === false)
{
file_get_contents("https://www.".BM_PROVIDER."/myaccount/sendsms.php?username=".urlencode(BM_USERNAME)."&password=".urlencode(BM_PASSWORD)."&from=".urlencode(BM_FROM)."&to=".urlencode(BM_TO)."&text=".urlencode(BM_MSG));
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.