|  | Posted by Jerry Stuckle on 01/18/08 00:15 
mr_marcin wrote:> Hi
 >
 > Does anybody have some idea how to input some text into inputbox on
 > one page, than press some button on that page, that will load another
 > page, and finally read the responde? Suppose I want to write a price
 > comparision engine, where I would like to parse shops website for
 > price each time user wants.
 >
 > I have found similar feature in Symfony framework, called sfBrowser
 > (or sfTestBrowser). These are made for automated functional testing,
 > but should provide the functinality I am requesting.
 >
 > The question is: will this be efficient enough? Maybe there are other
 > ways to achieve this? Of course I can always try to make it more
 > manually - look for some pattern in url (search is usually done via
 > GET), and parse output html.
 >
 > Thanks for help
 > Marcin
 >
 
 cURL will allow you to get or post to pages, and will return the data.
 I much prefer it over the HTTPClient class.  It's more flexible.
 
 --
 ==================
 Remove the "x" from my email address
 Jerry Stuckle
 JDS Computer Training Corp.
 jstucklex@attglobal.net
 ==================
  Navigation: [Reply to this message] |