title: execute url in php file to send sms from web server
body: <p>THIS code is properly working on offline i.e. localhost bt i also want to execute this on web server...bt is not working on server....so anyone please tell me to execute the url on server for sms sending...</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php
  $ch = curl_init();
  
  curl_setopt($ch, CURLOPT_URL, "/* Here is my api url*/");
  
  curl_setopt($ch, CURLOPT_HEADER, 0);
  
  curl_exec($ch);
  
  curl_close($ch);
  
  ?&gt;</code></pre>
  </div>
  </div>
  </p>