Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php curl pass user:password

curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
Source by electrictoolbox.com #
 
PREVIOUS NEXT
Tagged: #php #curl #pass
ADD COMMENT
Topic
Name
4+7 =