[Solved] php curl_init() not working


try this

<?php 

    $ch = curl_init ($url);

     /*
      * Send SMS
      */
      curl_setopt ($ch , CURLOPT_RETURNTRANSFER , TRUE);
      curl_setopt($ch , CURLOPT_TIMEOUT , 30);

     /*
      * Execute command and send sms
      */

     $result = curl_exec ($ch);
?>

you can write below line for print out put

<?php
      echo "<pre>";
      print_r($result); 
      echo "</pre>";
?>

see output after parse or expload result.

solved php curl_init() not working