Link to home
Start Free TrialLog in
Avatar of Somchai
Somchai

asked on

1 click submit 2 cgi <form>

I would like to submission form method post

1 button for 2 form

<form  method="POST" action="../cgi-bin/add.cgi">
<form  method="POST" action="http://www.some.com/cgi-bin/backup.cgi">

how should i do ?
Avatar of clockwatcher
clockwatcher

Rewrite your CGIs so that a single CGI handles both tasks or have the first CGI post to the the second.
Avatar of Somchai

ASKER

how to 1st cgi post to the second on remote host ?

i am very newbie..

thank for advance
ASKER CERTIFIED SOLUTION
Avatar of clockwatcher
clockwatcher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Somchai

ASKER

thankz. Look complex for me but it is a good code.