Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...