Online Forum To Support Coders With Technical Assistance - Read Write Execute

What is cUrl

Ankit Agrawal
Ankit Agrawal
Published on November 14, 2015 · 1 min read
  • 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);     
?>
Was this article helpful?
Ankit Agrawal

Ankit Agrawal

Author & Senior Engineer at CodeExecute

Writing practical engineering guides, debugging real-world bottlenecks, and creating free tools for developer productivity.

← Previous Article Difference between Placeholder and Value Next Article → How to send email in php ?