Re: How program automatic 'filler forms' robots?
| From: | M | Date: | Wed, 15 May 2002 20:23:32 +0000 |
| Subject: | Re: How program automatic 'filler forms' robots? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97804@lists.php.net to get a copy of this message | ||
"1LT John W. Holmes" wrote:
>
> You need to get a little more specific. Is this a specific form, or do you
> want to be able to post any form? What kind of script is processing the
> form? Is it looking for GET or POST data? GET data is as simple as creating
> a URL with the nec. fields. POST is a little harder, but just required you
> to send the appropriate headers with the data. "filling out a form" isn't
> much different than any other web request. The "data" just included in the
> URL or in the headers, and the "action" page of the form processes that
> data...
Hello John, thanks for your reply.
suppose this form into myurl.html (i will replace < and > by [ and ] to avoid
unwanted url treatment into msgs)
[form]
[input type=text name=driver length=20]
[input type=text name=os length=20]
[/form]
I figured could open myurl.html already with filled values by calling
http://.../myurl.html?driver=midi&os=windows
but it appears not working. I regularly program PHP and pass url parameters in
this way to my php scripts successully.
My problem is as follow: there are many forms around web I will need fill
regularly with values at every week (or months). My idea is to create a
database with these web urls, containing all info needed to fill automatically
these forms. Probably will need to store info about these pages uses get or
post commands, I really don't know how to begin with.
At every week, I would call my PHP script and browse all these urls and
automatically fill values to call pages with values already filled. I even
don't know how my 'robot' could send button action commands to these forms.
Ok, thats all.
Thanks for any info on this subject.
Mig