-1

How can I navigate on a website, using php ? (I want with a local program to access a website and parse html pages, fill forms, click buttons and being redirected, etc.; as if PHP was a real guy). Yet, I use Ruby Mechanise but it's not sufficient.

Thanks

  • 1
    You need a Javascript-based automation or testing framework running in a real browser to do that; PHP isn't really able to interact with the site's javascript or do stuff real people do. – klaar Oct 20 '15 at 12:23

1 Answers1

1

To interact with a website you would most likely use a javascript framework such as phantomjs or dalekjs. PHP is not made for DOM manipulation and interaction or page automation.

oshell
  • 8,923
  • 1
  • 29
  • 47