I need my site to place a cookie anywhere on the user’s “computer” when logging in, like on the “temporary files” (not in the browser) with the DATE and USER ID when the user logs in to his account using member.php. The cookie needs to look like this: [login to view URL]
30 = Day, 10 = Month, 14 = Year and 85500 = User Id, CK = just means cookie, .tmp = temporary file extension.
[login to view URL] (login page) will need to also look for any cookie on the user’s computer when user logs in and if there is a cookie for that same DATE with a “different” USER ID, to suspend the account.
Example, USER 85500 logs in, then the site puts this cookie in the user’s computer: [login to view URL] But later user 85550 logs in and the site finds the cookie [login to view URL] in the user’s computer, since the cookie is for the SAME DATE, it then needs to suspend account 85550.
[login to view URL] will also need to check the user's recorded country in the database, and if the user is logging in from a "different country", to suspend the account.
My site is already detecting the country using the ip. You just need to make [login to view URL] READ the user's country in the database.