Hi All
I have integrated SMS API in PHP page
i am getting some issue like,after submitting the sms I am getting response code which is sample below
"919988776699-225d3e2c0d90404bb63dd39ae11e588c"
Mobile number along with unique code
I want to hide that code,as I am integrating this sms api in opencart page
Please any one help me to resolve this issue to hide the response code
and please find the my code below
<?php
$sender_id='abcd'; // sender id
$mob_no = "919988776699";//$customer_info['telephone']; //123, 456 being recepients number
$user = 'username'; //your account username
$pwd='password'; //your account password
$sms ='Congrats! You have successfully made order Thank You.';
$msg = $sms ;
$str = trim(str_replace(' ', '%20', $msg));
// to replace the space in message with ‘%20’
$url="http://login.smsgatewayhub.com/smsapi/pushsms.aspx?user=".$user.'&pwd='.$pwd.'&to='.$mob_no.'&sid='.$sender_id.'&msg='.$str.'&fl=0';
// create a new cURL resource
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_HEADER,0);
// grab URL and pass it to the browser
//$curl_scraped_page = curl_exec($ch);
curl_exec($ch);
// close cURL resource, and free up system resources
curl_close($ch);
?>
Please find the screenshot that this response ID was appending in body tag