What is cUrl

  • cUrl is a tool to transfer data from one server to another via URL.
  • cUrl is library in php that help to make HTTP requests

Examples :

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://mysite.com");
$output = curl_exec($ch);
curl_close($ch);     
?>