
September 13th, 2003
02:55 AM
I love going to Ozzfest.
Status: Offline!
Validating Email Addresses - Do they exist?
I've searched this form over, and found plenty of good ways to make sure a feild has something like an email (blahblah@thisplace.com) ... but I need a way to make sure the email actually exists.
I'm getting a little frustratted with folks putting in bogus emails (jkasdjsda@jkasdjdas.com) and I figure the least they can do is go out and creat a bogus email :P
Anyway, I searched the web and found something very, very close to what I need. ( http://coveryourasp.com/ValidateEmail.asp ... Step 3: SMTP validation ) ... but unfortunatly, I don't use ASP :\
Does anyone know how I can get a similar result using something not Window's based? I'm not actually sure what kind of script can do this (I'll assume it's a server side script) so if it helps, I'm using Apache on a Unix server.
Thanks for any information!
___________________
Grunge
Jenn Rodriguez | qrow.com

September 13th, 2003
03:02 AM
I love going to Ozzfest.
Status: Offline!
Oops! I seem to have posted this in the wrong forum. Can an admin please move this to the script request?
___________________
Grunge
Jenn Rodriguez | qrow.com

September 13th, 2003
03:18 AM
uhh, I suggest looking up fsockopen()
It's pretty much like pinging the server, if it replys then it is a valid email. They could get around it by doing something like "Me@tutorialforums.com" but many people don't think of that. Also if their mail server was down it would mess it up. But you have to crack eggs to make omelets.
Good Luck with it.
(Spoono tutorial: http://www.spoono.com/php/tutorials/tutorial.php?id=28)

September 15th, 2003
02:09 PM
Verify a User's Email Address Using PHP
By Joe Marini
http://www.sitepoint.com/article/1051
___________________
This is a optional signature you may use to appear at bottom of your posts.

September 15th, 2003
07:11 PM
Neverside Newbie
Status: Offline!
if you're using dreamweaver there's a server behavior extension for doing just this. although you wouldn't be learning from it 
___________________
Nick
Pixel-Infinity

September 16th, 2003
08:14 AM
u could use mail() send them a e-mail to the address they give then click on a validation link the in e-mail that will activate what ever they are trying to do.
for example.
they creat an account they are given a unique id and the account starts of deactivated.
in the e-maill have a link like
www.your_site.com/activate_account?user_account_id=[what ever there account id is]
they click that then it changes the account to active.

September 16th, 2003
12:31 PM
Neverside Newbie
Status: Offline!
Send a confirmation e-mail is the only way to be truly sure.
___________________
RAAAH

September 16th, 2003
02:57 PM
Or you can send them a generated-password, which they can change when they login..
___________________
This is a optional signature you may use to appear at bottom of your posts.

September 16th, 2003
10:35 PM
with Mr. Jones
Status: Offline!
Which is a confirm email. Confirm emails are the way to go, I prefer unknown's method then sending them a password, although you should use a random string; activate=s9sd8fff9982 not activate_id=23 because then I can easily go to that without recieving the email.
___________________
http://www.philbrodeur.com - Expert PHP Development and Tutorials