jmas49 Posted September 29, 2009 Share Posted September 29, 2009 Hello folks! I have a question for you. I need to create a web page redirect with a form where the customer will need to enter a reference code. After they enter the code and click submit, I need for the code they entered to be appended to a specific website address, and then open that site. For example: The reference code is: ABCD1234 The site address is: http://www.[sITE].com The appended site address would be: http://www.[sITE].com/ABCD1234 Any help would be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
mattal999 Posted September 29, 2009 Share Posted September 29, 2009 Just use: header("Location: http://www.site.com/".$_POST['refcode']); exit; 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.