My password curl is failing sometimes?

Accibinna

New Member
\[code\] $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $PathUrl); curl_setopt($ch, CURLOPT_USERPWD, 'someuser:somepass'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $data = http://stackoverflow.com/questions/3875674/curl_exec($ch); $info = curl_getinfo($ch);\[/code\]Any ideas on why it works about 30% of the time and the other 70% if fails....viewing the url on any browser works all the time
 
Back
Top