Adding a field for IP address
Posted: Fri Apr 10, 2009 3:21 pm
hello,
i am new to web development and i am currently using mysql and php to make a site. based on your experience, should i add a field to my user table for the ip address when they register? if so, what should the data type be? length? etc.? i've seen varchar(15) from some readings, is that okay?
also, should i have another field for the most recent ip address in the login form? what is the advantage/disadvantage with this?
thanks for the guidance!
i am new to web development and i am currently using mysql and php to make a site. based on your experience, should i add a field to my user table for the ip address when they register? if so, what should the data type be? length? etc.? i've seen varchar(15) from some readings, is that okay?
also, should i have another field for the most recent ip address in the login form? what is the advantage/disadvantage with this?
thanks for the guidance!