




<?php
$siz=5000;
if($_SERVER["REQUEST_METHOD"] == "GET"){

    if(empty(trim($_GET["number"]))){
        echo("no number");
     } 


/*

http://sms.sytiqhub.com/app/smsapi/index.php?key=263E33886A5F97&campaign=0&routeid=9&type=text&contacts=9014110695&%20senderid=SYTHUB&msg=Dear EV User, your charging was stopped due to at {#var#} charging station. SYTQHUB EV&template_id=1707169485615908104

*/

    else{
        
    $number =trim($_GET["number"]);
    $reason =trim($_GET["reason"]);
   //http://sms.sytiqhub.com/app/smsapi/index.php?key=45E91B966B689D&campaign=0&routeid=9&type=text&contacts=9014110695&%20senderid=SYTHUB&msg=Dear,your%20successfully%20registered%20SYTIQQHUBEV%20mobile%20app.%20your%20user%20name%20is:%20gopaland%20password%20is:%20123&template_id=1707163479994003382
   $url="http://sms.sytiqhub.com/app/smsapi/index.php?key=263E33886A5F97&campaign=0&routeid=9&type=text&contacts=$number&%20senderid=SYTHUB&msg=Dear EV User, your charging was stopped due to at $reason charging station. SYTQHUB EV&template_id=1707169485615908104";
   //echo $url;
  $contents = file_get_contents($url);
if($contents !== false){

 echo($contents);
}
  echo($contents);
    }

    }

?>
 
