How to use curl in php?

php

Basic curl example php curl: simple post request and retrival of page example. Just use below code in your script. $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => “”, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => “”, CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30,…

Read MoreHow to use curl in php?