Profile

Achievement

first submission:submitting first snipplet

apphp-snippets's Recent SnippetsTagged ip



« 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 180 posted 4 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 266 posted 7 years ago by apphp-snippets
This code allows to get the IP address from which the user is viewing the current page.
0 194 posted 7 years ago by apphp-snippets
« Prev 1 Next »