title: Any alternative to curl_exec()?
body: <p>I am trying to make a sort of license checking script, but as not all hosts allow <code>curl_exec</code>, I would like to know, if there is any alternative way of making a call-back?</p>
  
  <p>This is how I do it with curl:</p>
  
  <pre><code>curl_setopt($ch, CURLOPT_URL, $url."/my_script.php");
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $info);
  curl_setopt($ch, CURLOPT_TIMEOUT, 30);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_exec($ch);
  </code></pre>