Jump to content

Archived

This topic is now archived and is closed to further replies.

jek1134

Php Html Post Action Script

Recommended Posts

INQUIRY:

An HTTP POST from an HTML form action points to a PHP script on my server. The PHP script is used to write to a table in a MySql database that I've setup for this. What I need to know is if there is a way to send that form data to another action script (which [i]could[/i] be something other than PHP) on another server which is already in place, ready to receive the data as well. In other words, to hit my script first, then pass along to e.g. (http://www.example.com/scripts/formactionscript.php). To use PHP to modify a form action once the data has been written to the database, or as the data is being written.

Share this post


Link to post
Share on other sites
is the question:

Can I post a single form to two scripts at the same time?

if so, the answer is yes..

Lemme know, I'll post how if you want...


[!--quoteo(post=388875:date=Jun 28 2006, 11:39 AM:name=jek)--][div class=\'quotetop\']QUOTE(jek @ Jun 28 2006, 11:39 AM) [snapback]388875[/snapback][/div][div class=\'quotemain\'][!--quotec--]
INQUIRY:

An HTTP POST from an HTML form action points to a PHP script on my server. The PHP script is used to write to a table in a MySql database that I've setup for this. What I need to know is if there is a way to send that form data to another action script (which [i]could[/i] be something other than PHP) on another server which is already in place, ready to receive the data as well. In other words, to hit my script first, then pass along to e.g. (http://www.example.com/scripts/formactionscript.php). To use PHP to modify a form action once the data has been written to the database, or as the data is being written.
[/quote]

Share this post


Link to post
Share on other sites
Thank you for the reply.
The question is: can I post to one php script, which in turn posts to an entirely diffferent script. Not two at once, rather, like handing the information to a script which writes it to a database, AND passes the info along to another script somewhere else. The idea is to have all of the posts appear as though they are coming from my URL, which acts as a HUB between two other entities.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.