|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Redirecting with adding variables
Hi,
I need help to make php scripts to receive value from HTML FORM then add some value, then post all the value to destination address. file1.html will have this: <form name="form1" action="file2.php" method="post"> <input type="hidden" name="Cust" value="John Doe"> <input type="hidden" name="Total" value="100"> <input type="submit" value="Submit"> </form> file2.php will do: 1. Add Login = "My-Username" 2. Add Passwd = "My-password" 3. With Cust and Total from file1.html, file2.php post all the 4 value (Plus Login and Password) with POST method to destination-otherdomain.com (http://destination-otherdomain.com/receiver) Please help. Thank you in advance. |
|
#2
|
|||
|
|||
|
you need to pick up the posted info from the html form. And then add it to a new form that also include the new php variables. And then you can make a js function that posts the new form when loaded.
- pheifel |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Redirecting with adding variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|