Registration IP Handler?

I have a pretty decent login register script, and can grasp php quite quick, but I am looking for a little help with something.

I’m trying to create some sort of database to handle registration requests. I want to to save the IP address in a database and have a field “register” set to 1 when he has submitted a register form int he last 24 hours, and to 0 after that 24 hours is up followed by deleting that field or w/e when register is to 0.

some kind of ip handler any help appreciated.

Sponsor our Newsletter | Privacy Policy | Terms of Service