View Single Post
Old 09-04-2008, 11:45 PM  
fluffygrrl
So Fucking Banned
 
Join Date: May 2006
Posts: 2,187
Quote:
Originally Posted by pussyserver View Post
thank you ok heres the situation

the form receving the user input is a php form on one domain and I want to pipe the inputed data to a form located on another domain so it would appear as if the form data was posted directly at the remote domain

thanks in advance
Well, suppose you have http://domain1.com/form1.php and http://domain2.com/form2.php as your two forms.

Now, on form1.php, make sure you include

<FORM action="http://domain2.com/form2.php" method="post">

In form2.php, make sure you include

<input type="checkbox" name="item_name" value="<?php echo $_POST["item_name"]; ?>">

Make sure you use the same item_name in both forms, and make sure you do this for every input element on the 2nd forum.

Cheers.
fluffygrrl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote