Posts Tagged ‘CURLOPT_POST’
Using curl functions in php to send sms for smaple sms gateway
Saturday, November 8, 2008 11:42 6 CommentsThis is a sample code assuming we have a sms gateway with name smsgateway.co.cc. We have take a sample
$curlPost = ‘Mobile_No=9000099119&Type=SMS&Message=”This is a test message”‘;
//we have to pass the mobile number and message as argument to the url.
$LOGINURL = “http://smsgateway.co.cc/UserMiscellaneousMT.asp”;
//This url will be provided by our gateway
$agent = “Mozilla/5.0 (Windows; U; Windows [...]

