Hi,
I need help to make redirection php with passing information from the previous file.
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>
And I do not know to make file2.php ?
Requirement for file2.php:
1. Have Login = "My-Username"
2. Have Passwd = "My-password"
3. file2.php also receive 2 information from file1.html ('Cust' and 'Total')
4. Then file2.php automatically submit all the information (4 information) to destination-otherdomain.com ( http://destination-otherdomain.com/receiver)
Please help.
Thank you in advance.
|