Graeme Posted October 22, 2013 Report Share Posted October 22, 2013 hello all, i help a friend with his web site and he would like to have people submit there e-mail address before being allowed access to the rest of the site. i think it's his idea of collecting e-mail addresses for a contact database. i'm not too sure about the idea but could this be done? thank you as always graeme Quote Link to comment Share on other sites More sharing options...
falkencreative Posted October 22, 2013 Report Share Posted October 22, 2013 Can it be done? Yes, using a bit of PHP to collect and store the info in a database, or to email that address to an admin user. You might want to have some sort of system that doesn't force repeat visitors to enter their email multiple times -- maybe by setting a cookie or similar? Realistically though... I would suggest your friend reconsiders. I would bet that this plan will cause a huge drop in his traffic, and few people will be willing to provide their contact info (or he will end up with a list of fake addresses). If he wants o do this, he'd better have something on his site worth it. At least for me, if I found a site like that, I'd highly likely not enter my email and avoid the site in the future. Quote Link to comment Share on other sites More sharing options...
Jmarton1 Posted October 23, 2013 Report Share Posted October 23, 2013 At opening just give a pop-up to enter email, after the user click OK, show him your home page. Quote Link to comment Share on other sites More sharing options...
Graeme Posted October 24, 2013 Author Report Share Posted October 24, 2013 Thanks you two, I'll pass on your advice, I can understand it fully and see your reasons. Just say the pop up was an option, how can this be done, JavaScript? Best wishes Graeme 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.
Note: Your post will require moderator approval before it will be visible.