frizzo Posted January 26, 2008 Share Posted January 26, 2008 I want to add another field to the post of this header redirect. header("Location: http://......./?detail=&email=" . $_POST["email"]); To add a "name" field, for example. How can I do that? Thanks. Quote Link to comment Share on other sites More sharing options...
revraz Posted January 26, 2008 Share Posted January 26, 2008 Just like you added &email BTW, you know detail= nothing in that URL right? Quote Link to comment Share on other sites More sharing options...
frizzo Posted January 26, 2008 Author Share Posted January 26, 2008 That's where I get confused. Like this? header("Location: http://......./?detail=&email=&name=" . $_POST["email"]); . $_POST["name"]); Yea, the URL and detail were removed to simplify the code. Quote Link to comment Share on other sites More sharing options...
revraz Posted January 26, 2008 Share Posted January 26, 2008 Not sure what you want detail= to be, but for email and name: header("Location: http://......./?detail=&email={$_POST['email']}&name={$_POST['name']}"); Quote Link to comment Share on other sites More sharing options...
frizzo Posted January 26, 2008 Author Share Posted January 26, 2008 That worked out great. Thanks a bunch. I am passing form data to Clickbank, so ?detail= is for the product detail. 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.