I have minimal experience with cURL but have had some success with it.

I am trying to download some invoices that are posted every month.  I am
able to get a login to the https: and get the first few pages but when I try
to get the invoices I get an error page with this content.

HTTP Status 500 -
----------------------------------------------------------------------------
----
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
java.lang.NullPointerException
 ..........
39 lines of error messages

Everything seems to work fine up to the point that I am given a jsessionID
on the third page that is curled.  It seems to be writing the info to the
cookie file but I don't know if I am handling it incorrectly or if that has
anything to do with it.

I have downloaded LiveHTTPHeaders version 0.10 available here
http://livehttpheaders.mozdev.org/index.html to see if I was missing any of
the information that has been passed and having compared the log file I can
say that I am passing the same information as the mozilla browser.  does
anyone have any suggestions.

and an RTFM is fine but I have been over several of the links posted
http://curl.haxx.se/docs/ so if you tell me RTFM please send my idiot self
to the correct page.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to