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
Solved

curl crawling doesn't seems to work

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to count occurrences of each item in an array.
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…

856 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