Profile
Achievement
apphp-snippets's Recent SnippetsTagged ip
- All /
« Prev 1 Next »
Sometimes you may want to show the visitor that you are aware of their IP address. You can do so by using few lines of code as shown here. Place the code in any place of your page, where you want the IP address to appear:
0
1084
posted 9 years ago by apphp-snippets
This simple function allows you to getect a country code and city of your site visitors, using the www.geoplugin.net service. You may use this data to add default values in registration form or use it for any other purposes, like blocking access to y...
0
1353
posted 11 years ago by apphp-snippets
This code allows to get the IP address from which the user is viewing the current page.
0
1131
posted 11 years ago by apphp-snippets