php curl pass user:password

42

php curl pass user:password -

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

Comments

Submit
0 Comments