I still confused on this subject and ask for any help and reference on how to check a visitor IP address via PHP.
I'm know it seems lazy to ask something before attempting to code something to show, but right now, I am also googling to find it. Hopefully someone can give general broad answer or some link to read?
BTW, what is to be considered when we have to code some feature like this?
PS: Thank you very much everybody. It's been enlightening arguments. Frankly, I choose the answer more as respect rather than the truth in it. Because until now I still don't know the right one. Maybe I need more years of learning before I get a firm understanding of the topic itself.
See $_SERVER, specifically:
$_SERVER['REMOTE_ADDR'];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With