fork download
  1. <?php
  2.  
  3. $site_addr = 'https://h...content-available-to-author-only...h.net';
  4. $message = "Hi {$C_FNAME}, Please find the new credentials, User Id: {$new_username} Password: {$C_PASSWORD} visit {$site_addr} HIGHRICH ONLINE";
  5.  
  6. $sms = urlencode($message);
  7.  
  8. $C_MOBILE = 9207877534;
  9.  
  10. $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";
  11.  
  12. $url = str_replace(" ", "%20", $url);
  13.  
  14. $curl_handle = curl_init();
  15. curl_setopt($curl_handle, CURLOPT_URL, $url);
  16. curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
  17. curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
  18. curl_setopt($curl_handle, CURLOPT_USERAGENT, 'Highrich');
  19. $query = curl_exec($curl_handle);
  20. curl_close($curl_handle);
  21.  
Success #stdin #stdout #stderr 0.03s 26308KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Notice:  Undefined variable: C_FNAME in /home/3cMfPL/prog.php on line 4
PHP Notice:  Undefined variable: new_username in /home/3cMfPL/prog.php on line 4
PHP Notice:  Undefined variable: C_PASSWORD in /home/3cMfPL/prog.php on line 4