1
lmartinus
Activation of new users
  • 2005/12/8 13:53

  • lmartinus

  • Just popping in

  • Posts: 6

  • Since: 2005/11/29


Hello !

I have noticed that all the users of my web site share a common feature: it is that their email adress is supposed to be something like ll........@nottingham.ac.uk

Therefore, I am trying to modify the register.php file in order that new users having such an adress can be automatically activated,
and that other users get a message telling them to use their ll.......@nottingham.ac.uk email.

However,it does not work (probably because I'm a beginner!).

Can someone help me ?


Thank you very much for your help,

Martin.

2
highlander
Re: Activation of new users
  • 2005/12/8 14:34

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Imartinus,

How about posting what you have doen allready ?
Might make it easier for people to give you a hand.

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com

3
lmartinus
Re: Activation of new users
  • 2005/12/8 14:47

  • lmartinus

  • Just popping in

  • Posts: 6

  • Since: 2005/11/29


So far, I have only modified the function userCheck($uname, $email, $pass, $vpass)

by adding this:

Quote:
if (eregi('ll'*'.nottingham.ac.uk', $email)) {
$stop .= _US_INVALIDMAIL.'<br />';
break;
}


But in fact, that the opposite solution I want to reach... =;(

Thanks for your help,
Martin.

Login

Who's Online

154 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits