vicky-t Posted November 14, 2011 Share Posted November 14, 2011 I'm assuming this has something to do with cookies, which I am not to familiar with as I am pretty new to this PHP world and have mostly worked with wordpress... but this question was brought up to me, and I don't know where to start. If a user is signed up for the mailing list on a site, we would like the home page the user lands on to be different than the page a new visitor who isn't signed up for the mailing list would see. I have tried to google this, but maybe I am using the wrong choices of words? Any advice, links, etc would be so so soooo appreciated. Thanks V Quote Link to comment https://forums.phpfreaks.com/topic/251131-redirecting-return-visitors-to-a-different-home-page/ Share on other sites More sharing options...
killervastu Posted November 14, 2011 Share Posted November 14, 2011 you can use a filed as emailsubscribed for that as enum('0','1') and if subscribed make it 1 now check if the user is subscribed or not if yes then redirect it to your desired location and same with not subscribed. Quote Link to comment https://forums.phpfreaks.com/topic/251131-redirecting-return-visitors-to-a-different-home-page/#findComment-1288091 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.