Answers for "php curl pass user:password"

PHP
0

php curl pass user:password

curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
Posted by: Guest on February-03-2022

Browse Popular Code Answers by Language