|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hello guys i need help! i stuck!
so here is what i want to ask: i have 3 sites and i want wen somebody field the form i want the form to submit on the other 2 sites without need to go there and field again the form. so anybody know how i can do this? i think i must use php but ... how? any help? ![]() |
|
#2
|
||||
|
||||
|
learn this first:
http://www.php.net/manual/en/langua...es.external.php |
|
#3
|
||||
|
||||
|
johnyplexx, The best wat to handle a situation where more than one form can create or update data is to have all of the scripts write their data to a common text file or common database table. The text file or table could include an indicator as to which of the three scripts created/updated the data if you need that information for later.
The alternative is to create a set of scripts that basically call each other in round robin fashion using the PHP header() function in order to pass all the fields entered in one form to the other two forms. This can be done but get's messy and could fail if the user "stops" their browser in the middle of the operation. Maybe if you explained why you need to pass the form data to three scripts it would make things clearer. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Multiactions wen submit a form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|