How to use Curl in PHP to retrieve data from other page

In some case if you want to retrieve data from another user i am normally using¬†file_get_contents($link); But some sites disabled file access by using file_get_content(), in that situation we can use Curl functions of PHP. For this you must need to enable CURL in your PHP server. API_URL contains a URL of API that you… | Click here to read more.