Solved

curl crawling doesn't seems to work

Posted on 2011-02-18
2
321 Views
Last Modified: 2012-05-11
Hi,

I'm trying to crawl http://elyon1.court.gov.il/verdictssearch/HebrewVerdictsSearch.aspx using php & curl. while submitting the form it seems to refresh the page and doesn't seems to give the results same as the original url does.

be glad to get an idea how to solve that.

Tnx.
0
Comment
Question by:oferlll
2 Comments
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 34924904
I'm not too up on cURL's deeper innards, but I'd guess you might be needing to accept cookies or some such for session data. Look at cURL's  cookiejar feature. Look for cURL option constants for CURLOPT_COOKIEJAR and CURLOPT_COOKIEFILE
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 34934669
With all the javascript and 'postback' on that page, I suggest you get an ASP.NET programmer to tell you what's going on on that page.  'curl' isn't going to run the javascript on that page so you will probably have to figure a different way to get the info.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now