Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://www.myvaluefirst.com/smpp/sendsms?username=xxxxx&password=xxxx&to=xxxxx&text=Dear&from=STLTD');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_NOBODY, true);
- curl_setopt($ch, CURLOPT_HEADER, true);
- curl_setopt($ch, CURLOPT_HTTPGET, true);
- curl_setopt($ch, CURLOPT_TIMEOUT, 100);
- curl_exec($ch);
- Array
- (
- [url] => http://www.myvaluefirst.com/smpp/sendsms?username=xxxx&password=xxxx&to=xxx&text=Dear&from=STLTD
- [content_type] =>
- [http_code] => 0
- [header_size] => 0
- [request_size] => 160
- [filetime] => -1
- [ssl_verify_result] => 0
- [redirect_count] => 0
- [total_time] => 20.035848
- [namelookup_time] => 5.019469
- [connect_time] => 5.02008
- [pretransfer_time] => 5.020088
- [size_upload] => 0
- [size_download] => 0
- [speed_download] => 0
- [speed_upload] => 0
- [download_content_length] => -1
- [upload_content_length] => 0
- [starttransfer_time] => 20.035834
- [redirect_time] => 0
- [certinfo] => Array
- (
- )
- )
Add Comment
Please, Sign In to add comment