fork download
  1. <?php
  2.  
  3. $C_FNAME = 'bittu';
  4. $new_username = 'HRS0215';
  5. $C_PASSWORD = '2232232';
  6.  
  7. $site_addr = 'https://h...content-available-to-author-only...h.net';
  8. $message = "Hi {$C_FNAME}, Please find the new credentials, User Id: {$new_username} Password: {$C_PASSWORD} visit {$site_addr} HIGHRICH ONLINE";
  9.  
  10. $sms = urlencode($message);
  11.  
  12. $C_MOBILE = '9207877534';
  13.  
  14. $url = "http://s...content-available-to-author-only...s.com/httpapi/httpapi?token=a1caabce768192c9ff6a2f5731126c4e&sender=HROSIN&number=".$C_MOBILE."&route=2&type=1&sms=".$sms."&templateid=1107165908589597579";
  15.  
  16. $url = str_replace(" ", "%20", $url);
  17.  
  18. $curl_handle = curl_init();
  19. curl_setopt($curl_handle, CURLOPT_URL, $url);
  20. curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
  21. curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
  22. curl_setopt($curl_handle, CURLOPT_USERAGENT, 'Highrich');
  23. $query = curl_exec($curl_handle);
  24. curl_close($curl_handle);
  25.  
Success #stdin #stdout 0.03s 25856KB
stdin
Standard input is empty
stdout
Standard output is empty