View Single Post
Old 03-14-2010, 05:31 PM  
wdsguy
Ryde or Die
 
Industry Role:
Join Date: Dec 2002
Location: California-Shanghai
Posts: 19,568
Quote:
Originally Posted by lamerhooD View Post
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
wdsguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote