| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Error setting user id and password in curl
From: Michael Horowitz <michael_at_yourcomputerconsultant.com>
Date: Sun, 16 Mar 2008 14:32:06 -0400
How should I properly be setting the user id and password?
line 120 is
curl_setopt($ch, CURLOPT_USERPWD, $this->$user:$this->$password);
I've tested this and received the same error hard coding a user ID and
It appears to be correct
curl::option CurlHandle,"USERPWD","verhas:m23kkdUT"
Pass a string as parameter, which should be username:password to use for
http://www.scriptbasic.com/html/texi/mod_curl/mod_curl_3.23.html
Michael Horowitz
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info