Automatically fill out forms using MySQL, PHP

I want to login to a page and then automatically submit a form. The form’s data is drawn from a MySQL db. I know PHP Curl a bit but I believe it can’t handle javascript or ajax-based forms well. I briefly read about Java’s HTMLUnit and it seems like this can handle ajax created forms too but I’m not certain. If there are multiple page then it would be nice to automate this but for now I don’t mind if I have to click on the next button to get to the 2nd page of a form and then automatically out this form’s data from the MySQL db. I don’t mind about the captcha either. Right now I’m using Roboform to automate some of that tasks but the data is not drawn from a MySQL db and I have to copy and paste some of the data from an excel sheet. Anyway, if you know of a solution please let me know.

Share and Enjoy:
  • Digg
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Share

You must be logged in to post a comment.