Hello
I have a problem...
How i can write in the page the Ip of the user?
Hello
I have a problem...
How i can write in the page the Ip of the user?
Here's what I found in a quick Google Search.
I hope that works, I've never nedded anything like an ip code.Code:: <?php echo 'User IP Address: ' .$_SERVER['REMOTE_ADDR']. ''; ?>
Oh I forgot to tell you to put this code where you want the ip to show.
The rest is superfluous. Of course, using PHP, this means you must have PHP installed and enabled on your server.Code:<?php echo($_SERVER['REMOTE_ADDR']); ?>
Ben: there is an edit button on your posts. Use this if you want to add something, rather than double-posting.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Thanks you
Bookmarks