You are here: still trying to cURL. « PHP « IT news, forums, messages
still trying to cURL.

Posted by "Jon" on 07/11/05 19:59

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация