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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...