03-14-2010, 05:31 PM
|
|
|
Ryde or Die
Industry Role:
Join Date: Dec 2002
Location: California-Shanghai
Posts: 19,568
|
Quote:
Originally Posted by lamerhooD
I'm assuming if they are black listed, you don't want to mention to them that they "already have an account" so the easiest way would be an else if:
// above code yada,yada
} else if(in_array($ip, $blacklisted)) {
error_quit("Sorry bud, nice try.");
}
and blacklisted would be an array like $blacklisted = array('192.168.1.1', '192.168.1.2'); etc..
Good luck!
|
thanks 
|
|
|