For authentication and for crawling a site I need to send form data. From web developer toolbar for Firefox I could retrieve the names of the form fields. How can I send them using phpcrawl?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For authentication and for crawling a site I need to send form data. From web developer toolbar for Firefox I could retrieve the names of the form fields. How can I send them using phpcrawl?
Hi aluvian,
i'm sorry, but POSTING data is currently not supported.
You could try to pass the fields via GET-parameters, like $crawler->setURL("site.php?formfield1=foo&formfield2=bar");
Maybe the site you want to crawl will accept GET-params.