curl-users
rookie cURL troubles
Date: Mon, 30 Mar 2009 11:37:05 -0300
I'm a long-time user of cURL, but by no means a pro. I happened to get lucky that cURL "just worked" with only two options set:
curl_setopt ($ch, CURLOPT_ENCODING, 'gzip');
curl_setopt ($ch, CURLOPT_FILE, $fp);
Recently, the pages I parse are coming back with an error message, though I can still open the pages in a browser and "view source".
I've dumped headers, played with cookies and cookie jars (mostly via trial and error - I can't really get my head around the concept enough to know if I really need to be worried about cookies - I may be barking up the wrong tree entirely).
I'm wondering if someone would be so kind as to look at http://eq.magelo.com/profile/1168428 in a browser, and advise what I need to consider to get the same content back via cURL.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-03-30