cooldude832 Posted July 14, 2008 Share Posted July 14, 2008 I have a pre existing site set up that uses some free form processors (They proecss on a remote server) I want to add in some additinoal custom proecssing before it goes remote so it be like this Fill out form -> Go to my custom processor -> Send identical post data to the remote page How can I push that post data straight through? Do I need a cURL script to do so? something like <?php $fields = ""; foreach($_POST as $key=> $value){ if(!empty($fields)){$fields .= "&"; $fields .= $key."=".$value; } ?> and then use that $fields as my POSTFIELDS for a cURL to the remote? Or is there a better way??? Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted July 14, 2008 Author Share Posted July 14, 2008 or can I add on to my custom processor header("location: REMOTEPAGE.php"); and the post data will still push??? Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted July 14, 2008 Share Posted July 14, 2008 Do I need a cURL script to do so? That's the way i'd do it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.