Hello all,
This is my first flirtation with PHP and I could use some help on this.
This is what I'm trying to do. I capture data from an HTML form and catch the data in a PHP script. Now I want to submit this data to another form on a different server. I would appreciate any help and guidance on how to approach this.
[HTML]<form name="survey_16 00" id="survey_1600 " method="POST" action="http://mel.afsc.org/photo_system/convio_catch.ph p">
<p>First Name:
<input type="text" name="cons_firs t_name" id="cons_first_ name" value=""
size="15" maxlength="50" />
</form>
</p>
<p> Last Name:
<input type="text" name="cons_last _name" id="cons_last_n ame" value=""
size="15" maxlength="50" />
</br>
</p>
<p>Email:
<input type="text" name="cons_emai l" id="cons_email " value=""
size="15"
maxlength="255" />
</p>
[/HTML]
I catch the form data here
Now I want to post this data to the form below. I was wondering if I could get any insight on this.
This is my first flirtation with PHP and I could use some help on this.
This is what I'm trying to do. I capture data from an HTML form and catch the data in a PHP script. Now I want to submit this data to another form on a different server. I would appreciate any help and guidance on how to approach this.
[HTML]<form name="survey_16 00" id="survey_1600 " method="POST" action="http://mel.afsc.org/photo_system/convio_catch.ph p">
<p>First Name:
<input type="text" name="cons_firs t_name" id="cons_first_ name" value=""
size="15" maxlength="50" />
</form>
</p>
<p> Last Name:
<input type="text" name="cons_last _name" id="cons_last_n ame" value=""
size="15" maxlength="50" />
</br>
</p>
<p>Email:
<input type="text" name="cons_emai l" id="cons_email " value=""
size="15"
maxlength="255" />
</p>
[/HTML]
I catch the form data here
Code:
<?php echo $_POST['cons_first_name']; ?> <?php echo $_POST['cons_last_name']; ?> <?php echo $_POST['cons_email']; ?>
Code:
<form name="survey_1600" id="survey_1600" method="POST" action="http://secure2.convio.net/afsc/site/SSurvey"</form>
Comment