- Impact
- 8
How do I show a persons IP address etc... like this: http://www.whatsmysystem.com/


<?php
echo $_SERVER['REMOTE_ADDR'];
?>
all4cost said:Why buy it if it's free ???
<?php
echo "Browser: " . $_SERVER["HTTP_USER_AGENT"] . "<br />";
echo "Your IP is: " . $_SERVER["REMOTE_ADDR"];
?>
<script type='text/javascript'>
w = screen.width;
h = screen.height;
document.write('The resolution is: ', w, '×', h + "<br>");
</script>
Hmmm... interesting I'll check it out later on. Thanks for the link.Designporte said:You need a large database for this, which is sorting the IPs in order of countries. Check Maxmind products: http://www.maxmind.com/
I think there's a free database included for IP-to-Country only.
Large database is right. I downloaded a database (from another site) The database alone will be around 4-5 MB's :oDesignporte said:You need a large database for this, which is sorting the IPs in order of countries. Check Maxmind products: http://www.maxmind.com/
I think there's a free database included for IP-to-Country only.
SecondVersion said:Large database is right. I downloaded a database (from another site) The database alone will be around 4-5 MB's :o
? ... Just go into phpMyAdmin, select your database. And run the SQl file. If this is what you're talking about.jdk said:Once you have the sql file to the server how do import it to the database?

