The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> email validation
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1084903992

Message started by bookswap on 05/18/04 at 20:13:11

Title: email validation
Post by bookswap on 05/18/04 at 20:13:11

I need to make the script require a certain email address domain.  Example being:  name.33@osu.edu.

I would like the script to only accept email addresses with @osu.edu at the end when users register.

Could someone please tell me how to implement this in the script?  It would be a huge help.

Thanks in advance. ;D

Title: Re: email validation
Post by Forum Admin on 05/19/04 at 10:17:44

Search the script for sub check_email
Add
   
Code:
$mail !~ /osu\.edu/i && return 0;

as the second line.

Title: Re: email validation
Post by bookswap on 05/19/04 at 17:09:41

Great!  Thank you very much :D

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.