Thanks for your reply.
Following is the code I used to send SMS.
$cURLhandle = curl_init('
http://bulksms.mysmsmantra.com:8080/Web ... 9444997901');
$fp = fopen("debug.txt","w");
curl_setopt($cURLhandle, CURLOPT_VERBOSE, 1);
curl_setopt ($cURLhandle, CURLOPT_STDERR, $fp);
curl_setopt($cURLhandle, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($cURLhandle, CURLOPT_USERAGENT,"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
curl_setopt($cURLhandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cURLhandle, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($cURLhandle, CURLOPT_FOLLOWLOCATION, 1);
curl_exec($cURLhandle);
$result = '<br />'.curl_getinfo($cURLhandle, CURLINFO_HTTP_CODE).'<br />';
$result .= '<br />'.curl_getinfo($cURLhandle, CURLINFO_EFFECTIVE_URL);
$result .= '<br />'.curl_error($cURLhandle);
curl_close($cURLhandle);
In the debug.txt Iam getting the following error. Could you help me where I am standing wrong?
============
* About to connect() to bulksms.mysmsmantra.com port 8080 (#0)
* Trying 216.154.213.157... * Timeout
* connect() timed out!
* Closing connection #0
============
Regards
Malai