Jump to content


Photo

Php Html Post Action Script


  • Please log in to reply
2 replies to this topic

#1 jek1134

jek1134
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 28 June 2006 - 03:39 PM

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 could 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.c...ctionscript.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.

#2 AV1611

AV1611
  • Members
  • PipPipPip
  • Advanced Member
  • 997 posts

Posted 28 June 2006 - 04:33 PM

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) View Post[/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 could 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.c...ctionscript.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]


#3 jek1134

jek1134
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 28 June 2006 - 04:42 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users