Solved

curl crawling doesn't seems to work

Posted on 2011-02-18
2
325 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 83

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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

803 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