I am using $_SERVER['REMOTE_ADDR']
to log the user IP and then locate them.
However the number returned is like 19377 when full address is 193.77.xxx.xxx
How can I:
- get the full IP
- maintain the "." structure
I am using $_SERVER['REMOTE_ADDR']
to log the user IP and then locate them.
However the number returned is like 19377 when full address is 193.77.xxx.xxx
How can I:
Thank you all! I figured it out!
I needed to change the field type from 11 INT to 16 VARCHAR to accommodate the different characters.