Forum Moderators: coopster

Message Too Old, No Replies

PHP Redirect with POST headers

         

mgraphic

8:18 pm on Aug 25, 2006 (gmt 0)

10+ Year Member



I am trying to find a way to redirect a user while keeping the POST header vars in tact.

Here is the situation: I have a user submit a form that posts name, email and feedback comments. I want to submit this to a php page and capture the user-submitted data, no-problem there. After I capture the data, I have to redirect the user to an outside marketing vendor that submits users name and email to a newsletter signup, and in return they are redirected back to us landing on a thank-you page.

I have to redirect the user using POST data from the users IP (spam protection), but I can't accept the feedback in the GET data because of the size limits.

Any suggestions on how to accomplish this?

jatar_k

5:28 pm on Aug 26, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



having to post it from the user's IP is a bit problematic

have you asked the marketing vendor how you might be able to accomplish this and get them their data as well?

I was thinking cURL but that would come from your server IP.