inserting IP ADD into Mysql
Posted: Sat Oct 23, 2004 9:32 am
hi ppl,
im trying to log IP addresses soon as sum1 logs onto my site, and store them into a DB, but im not sure what the query would look like?
i think that $_SERVER["REMOTE_ADDR"] holds the ip add, is that right? what would the insert statement look like for this?
im trying to log IP addresses soon as sum1 logs onto my site, and store them into a DB, but im not sure what the query would look like?
i think that $_SERVER["REMOTE_ADDR"] holds the ip add, is that right? what would the insert statement look like for this?