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 843 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 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 1084 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 907 posted 11 years ago by apphp-snippets
« Prev 1 Next »