Current location: Hot Scripts Forums » General Community » Script Requests » REdirect with adding variables


REdirect with adding variables

Reply
  #1 (permalink)  
Old 08-22-04, 02:06 AM
imlek imlek is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
REdirect 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
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server side variables Puno PHP 13 08-13-05 10:22 PM
formmail problem gscraper Perl 12 08-27-04 03:06 AM
redirect with php alpine2005 PHP 6 04-09-04 08:45 AM
help with displaying variables tisza PHP 9 12-22-03 05:08 PM
adding more variables to the mail() result spinicrus PHP 6 08-28-03 04:55 PM


All times are GMT -5. The time now is 10:48 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.