Pengguna PHP Curl Pass: Kata Sandi

curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
Friendly Hawk