Thank you jeff - I enabled verbose and discovered no cookie was beening sent in the header. The cookie filename was mispelled.
On 21 August 2010 11:32, Jeff Pohlmeyer <[email protected]> wrote: > On Sat, Aug 21, 2010 at 5:12 AM, Shaaa wrote: > > > I can retrieve the page but it tells me I must be logged in to access the > > content. I tried to access the content with wget --load-cookies (using > the > > same cookie) and it worked. > > > Some things to try: > CURLOPT_REFERER > CURLOPT_AUTOREFERER > CURLOPT_USERAGENT > > > You might be able to get some clues about why it's not > working by setting CURLOPT_VERBOSE and comparing the > output with wget's -d option. > > > - Jeff > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
