Guest User

Untitled

a guest
May 2nd, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. $ch = curl_init();
  2. curl_setopt($ch, CURLOPT_URL, 'http://www.myvaluefirst.com/smpp/sendsms?username=xxxxx&password=xxxx&to=xxxxx&text=Dear&from=STLTD');
  3. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  4. curl_setopt($ch, CURLOPT_NOBODY, true);
  5. curl_setopt($ch, CURLOPT_HEADER, true);
  6. curl_setopt($ch, CURLOPT_HTTPGET, true);
  7. curl_setopt($ch, CURLOPT_TIMEOUT, 100);
  8. curl_exec($ch);
  9.  
  10. Array
  11. (
  12. [url] => http://www.myvaluefirst.com/smpp/sendsms?username=xxxx&password=xxxx&to=xxx&text=Dear&from=STLTD
  13. [content_type] =>
  14. [http_code] => 0
  15. [header_size] => 0
  16. [request_size] => 160
  17. [filetime] => -1
  18. [ssl_verify_result] => 0
  19. [redirect_count] => 0
  20. [total_time] => 20.035848
  21. [namelookup_time] => 5.019469
  22. [connect_time] => 5.02008
  23. [pretransfer_time] => 5.020088
  24. [size_upload] => 0
  25. [size_download] => 0
  26. [speed_download] => 0
  27. [speed_upload] => 0
  28. [download_content_length] => -1
  29. [upload_content_length] => 0
  30. [starttransfer_time] => 20.035834
  31. [redirect_time] => 0
  32. [certinfo] => Array
  33. (
  34. )
  35.  
  36. )
Add Comment
Please, Sign In to add comment