Solved

curl crawling doesn't seems to work

Posted on 2011-02-18
2
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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.

749 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