You are here: Re: Two different POST actions? Possible? « PHP Programming Language « IT news, forums, messages
Re: Two different POST actions? Possible?

Posted by axlq on 12/17/42 11:56

In article <1156531442.323190.34580@b28g2000cwb.googlegroups.com>,
NC <nc@iname.com> wrote:
>axlq wrote:
>> How do I create a form that two submit buttons, where each one
>> submits the form input data to a different server?
>
>You can't. Just separate the forms. Like this:
[snip]

Then I have redundant fields that need to be filled in twice. That's
exactly what I was trying to avoid. I wanted one form with two
submit buttons, each sending the data to a separate server.

>The invoice printing script and the payment gateway are likely to
>require different sets of data anyway...

Why? I just use the payment gateway POST data to generate the
invoice.

>> Or maybe force everybody to generate an invoice as
>> the first step, and after that point they can choose to
>> pay it by credit card.
>
>Not a bad idea, either.

Based on the responses, it looks like that's the way to go.

-Alex

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация