Wouldn't be too hard, but I would strongly recommend against it. (see what KTB said).
You'd have to store the IP at registration; you could make a new field for that in the user table and then just go into the (functions_register?) and add it in for the address. $_SERVER['REMOTE_ADDR'] is what you need for their IP I think.
functions_login.php is the file you will have to match their IP to the IP stored in the user field.
|