note 89740 rejected from function.curl-exec by danbrown
| From: | danbrown@php.net | Date: | Fri, 20 Mar 2009 20:59:42 +0000 |
| Subject: | note 89740 rejected from function.curl-exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152235@lists.php.net to get a copy of this message | ||
Note Submitter: ted_yu at yahoo dot com
----
I use
curl_setopt($ch, CURLOPT_USERPWD, "X:Yâ);
where X:Y is obtained from www/webservices/orders/.htpasswd
When I access www/webservices/orders through CURL, I still get 401 error.
Can you give some hint ?