Re: Program to Submit to forms [message #173903 is a reply to message #173901] |
Thu, 12 May 2011 01:02 |
Charlie
Messages: 17 Registered: December 2010
Karma:
|
Junior Member |
|
|
On May 11, 8:19 pm, MacRoks <macr...@aim.com> wrote:
> On 2011-05-11 17:25:22 -0400, Charlie said:
>
>> "The user enters data that is then input into each of the forms and
>> the form is submitted as if a person entered the data into the 10
>> forms and clicked on submit."
>
>> Can I do that in PHP?
>
> Assuming you are using a form handler to process the data entered, why
> not use a loop to run the handler 10 times?
Every reference to form handler seems to be a way (higher level) to
create forms for your own page. What I am trying to do is take 10
URLS www.aaa.com, www.bbb.com,...,www.jjj.com each of which has the
same (in general, a known) form and take the user's input and simulate
their having connected to www.aaa.com etc. and entered that input into
the form on each of these arbitrary URLs. They actually connect to
www.mynewwebsite.com and enter it once and my program makes it as if
they entered it into the 10 sites and the 10 sites will receive and
process the form without the user connecting to the 10 URLs.
Charlie
> --
> MacRoks
> ---------------------------
> Kindle 3 Wifi+3G
> MacBook
> iPod Touch 3G 64 GB
> HP Palm Pre
|
|
|