CURL is a library that allows you to make a http request in php
-
Create a curl Resource Syntax: $curl = curl_init();
-
Set curl OPTIONS curl_setopt($curl, CURLOPT_URL, 'https://www.youtube.com/');
-
Run curl (execute http request) curl_exec($curl)
-
Close curl resource curl_close($curl);