Automated Filling of other Website Forms.

4 replies
Question to the other programmers/coders...

I know how to create a POST request to essentially create a filled out form that exists on another web-site, but it is rather tedious to examine the source of a form and try to build up a request piece by piece and make it work.

Is there any automated "Form filling" or at least "Form Analyzer" that could more simply create or at least pull out the parameters for forms on other web-sites? I know I could build one with something like "Web Harvester" or similar, but being overworked as it is - I thought I would ask here first.

Thanks!
#automated #filling #forms #website
  • Profile picture of the author KirkMcD
    Are you looking for a web-based solution or a pc-based solution?
    {{ DiscussionBoard.errors[4755447].message }}
    • Profile picture of the author David McKee
      I would be interested in either - any language too (php, java, javascript, what-have-you).

      Basically I am trying to automate form filling for a set of fairly standard information - but not so standardized forms (ie: first name, last name, email, website, etc.)

      Don't want to re-invent the wheel.

      Thanks!
      Signature
      Are you an affiliate marketer? My site has tons of free stuff and 14,000 pages of Clickbank research. www.affiliatesledgehammer.com
      Buy a Freedom Bulb! Don't let the government tell you what kind of light bulb you can use!
      {{ DiscussionBoard.errors[4755488].message }}
      • Profile picture of the author unnatural
        Here's how I do it (in PHP)

        -> Load the page with CURL, sockets or file_get_contents()

        -> Use SimpleHTMLDom to grab all the input/select/textarea fields.

        Example: foreach ($html->find('input') as $field)

        -> Run each field through an associative array to map each field to a set of information. For example if it finds a field labeled "first_name" it knows to enter the first name and so on.

        -> Submit the POST request using CURL.

        -> Parse the results for errors or success messages (preg_match) or SimpleHTMLDom.
        {{ DiscussionBoard.errors[4756391].message }}
  • Profile picture of the author David McKee
    SimpleHTMLDom - now that is what I was looking for, thanks unnatural!
    Signature
    Are you an affiliate marketer? My site has tons of free stuff and 14,000 pages of Clickbank research. www.affiliatesledgehammer.com
    Buy a Freedom Bulb! Don't let the government tell you what kind of light bulb you can use!
    {{ DiscussionBoard.errors[4756819].message }}

Trending Topics