title: Curl is not working on my live server
body: <p>I have using sms gateway api on my server</p>
  
  <pre><code>$live_url = "http://sms6.routesms.com:8000/bulksms/bulksms?username=XXX&amp;password=XXX&amp;type=1&amp;dlr=0&amp;destination=XXX&amp;source=routesms&amp;message=CurlSecond";
  
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $live_url);
  curl_setopt($ch, CURLOPT_HEADER, 0);
  curl_exec($ch);
  curl_close($ch);
  </code></pre>
  
  <p>For this,</p>
  
  <p>if i do <code>var_dump(curl_exec($ch));</code>,  It is showing <code>false</code></p>
  
  <p>if i do <code>var_dump(curl_getinfo($ch));</code>,  It is showing like</p>
  
  <pre><code>array(26) { ["url"]=&gt; string(153) "http://sms6.routesms.com:8000/bulksms/bulksms?username=XXX&amp;password=XXX&amp;type=1&amp;dlr=0&amp;destination=XXX&amp;source=routesms&amp;message=CurlSecond" ["content_type"]=&gt; NULL ["http_code"]=&gt; int(0) ["header_size"]=&gt; int(0) ["request_size"]=&gt; int(0) ["filetime"]=&gt; int(-1) ["ssl_verify_result"]=&gt; int(0) ["redirect_count"]=&gt; int(0) ["total_time"]=&gt; float(62.345893) ["namelookup_time"]=&gt; float(0.08692) ["connect_time"]=&gt; float(0) ["pretransfer_time"]=&gt; float(0) ["size_upload"]=&gt; float(0) ["size_download"]=&gt; float(0) ["speed_download"]=&gt; float(0) ["speed_upload"]=&gt; float(0) ["download_content_length"]=&gt; float(-1) ["upload_content_length"]=&gt; float(-1) ["starttransfer_time"]=&gt; float(0) ["redirect_time"]=&gt; float(0) ["certinfo"]=&gt; array(0) { } ["primary_ip"]=&gt; string(0) "" ["primary_port"]=&gt; int(0) ["local_ip"]=&gt; string(0) "" ["local_port"]=&gt; int(0) ["redirect_url"]=&gt; string(0) "" }
  </code></pre>
  
  <p>What i have to do?</p>
  
  <p>I can't understand the issue?</p>
  
  <p>I have tried one more way, Instead of curl, i have used</p>
  
  <pre><code>file($live_url);
  </code></pre>
  
  <p>This is also not working</p>