eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1
email validation (Read 348 times)
bookswap
eAuction User
**
Offline

I love Perl

Posts: 40

email validation
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. Grin
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Online

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: email validation
Reply #1 - 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.
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
bookswap
eAuction User
**
Offline

I love Perl

Posts: 40

Re: email validation
Reply #2 - 05/19/04 at 17:09:41
 
Great!  Thank you very much Cheesy
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only