naturalbeauty7 Posted July 18, 2007 Share Posted July 18, 2007 Probably a dumb question, I'm new to this so please be nice! How would I set a cookie and then redirect to another page. I want to use this for an affiliate website. I put the affiliate code in the form which cookies them, then it redirects to the page with the promo material. I'm using javascript to set the cookie currently. Any help would be great Lea Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted July 18, 2007 Share Posted July 18, 2007 Use the header function to redirect them. header('Location: www.url.com'); This has to be used before any output though. 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.