Category: Curl

0

Curl Get Sederhana

$key = ‘http://url’; $ch = curl_init($key); curl_setopt($ch, CURLOPT_URL,$key); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “GET”); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_exec($ch); curl_close($ch);