Page 1 of 1

can we post the same form to more than one page

Posted: Wed Jan 31, 2007 4:30 am
by chitrapu
hello everybody,
i have a small problem. i have a form that has 4 textfields and one listbox. i need to submit this form to two pages. is it possible??? if so can u plz send me a brief code of it.

Re: can we post the same form to more than one page

Posted: Wed Jan 31, 2007 4:34 am
by gavin1996
chitrapu wrote:hello everybody,
i have a small problem. i have a form that has 4 textfields and one listbox. i need to submit this form to two pages. is it possible??? if so can u plz send me a brief code of it.

You should Submit this form to a page ,.... one by one

Re: can we post the same form to more than one page

Posted: Wed Jan 31, 2007 4:39 am
by chitrapu
gavin1996 wrote:
chitrapu wrote:hello everybody,
i have a small problem. i have a form that has 4 textfields and one listbox. i need to submit this form to two pages. is it possible??? if so can u plz send me a brief code of it.

You should Submit this form to a page ,.... one by one


ok, but can u plz tel me with an example

Submit

Posted: Wed Jan 31, 2007 6:44 am
by sarbas
Hi,

Check the following link...... it may help you......

http://www.htmlhelp.com/faq/html/forms.html#two-submit

Posted: Wed Jan 31, 2007 11:25 am
by louie35
you could use the first page to get the form data, put it in $_SESSION 's
the use it on the first page, then redirect to the second page after which you clear the sessions.

Posted: Wed Jan 31, 2007 6:39 pm
by RobertGonzalez
i think you can use cURL.

Posted: Wed Jan 31, 2007 8:08 pm
by Ollie Saunders
cURL is probably your best bet -- Receive the data to one script and use that script to send it on to another.

Posted: Wed Jan 31, 2007 8:32 pm
by Kieran Huggins
I know there's no law against shouting in giant bright red type in your signature....