/    Sign up×
Community /Pin to ProfileBookmark

Help. How to do the email verfication?

Hi,

I’m writing a website project at home in PHP. I’m using Apache web server running on Linux and access it through my windows 2000 through LAN.

I’d like to have the feature that when a new user registers, he/she gets an email in his/her email account with a link, where you can click and verify that the email he/she provides is real email address.

I don’t know how to implement that? Do I need a mail server on my Linux? Can someone with more experience give me some hints or point me to some material where I can read? I would be very appreciated. thanks.

Joaquin

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@welshFeb 08.2006 — youll need a mail server or some sort of smtp access. what you can do is when you make the user make some big random string. and store it under the verification. and when the user clicks the link you include the string in a id="string". so the address would be like verify?id=sakljdsasdjiasdhk42892789e3hduasdh82hdq892he89q2d

user the get function you get that string and then verify that with the database then you can change the verfication spot to "yes". then add to the login part to check for verification is yes and if it isnt just post a message saying verification isnt complete. get what im saying?
Copy linkTweet thisAlerts:
@jfernandezauthorFeb 09.2006 — I get it. Except I never had exprience installing a mail server and configure it to make it work.

I downloaded vSignup script written by somebody else. It basically does the things I want. I'll have a look at the code how this guy did it.

thanks and have a nice day.
×

Success!

Help @jfernandez spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...