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 828 posted 8 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 1060 posted 10 years ago by apphp-snippets
This code allows to get the IP address from which the user is viewing the current page.
0 890 posted 11 years ago by apphp-snippets
« Prev 1 Next »