Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged ip



« Prev 1 Next »
To retrieve the weather forecast for your location based only on your current IP, the full tutorial will have the following 5 sections (http://bit.ly/1A5Y651), that will: - Describe elements needed for weather forecast retrieval - Describe the weat...
0 3249 posted 11 years ago by Hexahow
The code below can be used to lookup IP address in bulk in return of geolocation information using PHP programming languages and MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country of origin from the visitor's IP...
1 3648 posted 11 years ago by Hexahow
Code is meant to show the real ip address, in case if user is using a proxy. Most of the time $_SERVER["REMOTE_ADDR"] do not work correctly due to the proxy setting of user. It's a nice solution.
0 2941 posted 12 years ago by KhanOf21Century
Simple PHP functions to validate url, email address and ip, functions will return TRUE for valid data and FALSE for invalid data.
0 3296 posted 12 years ago by codingforever99
Covnerts an IP address to it's relative hex value.
0 4681 posted 12 years ago by martyncoup
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 3465 posted 12 years ago by apphp-snippets
This code allows to get the IP address from which the user is viewing the current page.
0 3077 posted 13 years ago by apphp-snippets
The following codes populate the country list into dropdown box based on browser's languages. The country information is getting from geolocation.com
0 2813 posted 13 years ago by Hexahow
This function performs several checks to make sure it's getting the correct IP address.
1 3364 posted 13 years ago by o0110o
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1 4882 posted 14 years ago by DNSBL
1 2631 posted 14 years ago by ariunbolor
0 2654 posted 14 years ago by ariunbolor
0 1971 posted 14 years ago by Push
Serverside script for a personal DynDNS service. Works together with a clientside script written in ruby [ http://snipplr.com/view/55484/own-dyndns-service-clientside-script/ ] . Redirect to current saved IP(http, port 80): http://dynDns.yourver...
0 2817 posted 15 years ago by madc
This piece of code is at least ten years old and I don't remember exactly, where I have found it. Probably it had been stolen from my friend VeZyR;)
0 2566 posted 15 years ago by michaJlS
use the magento developer IP
0 1716 posted 15 years ago by nico65
returns "City, State" if found otherwise defaults to "Hollywood, CA"
18 14553 posted 15 years ago by crypticsoft
Better Client/Remote IP function
0 1487 posted 15 years ago by YPY
0 1545 posted 15 years ago by nveselinov
0 1559 posted 15 years ago by sandrews_06
Restricts the vote to one vote per ip per day
0 1288 posted 16 years ago by jretamal
This function will fetch the real IP address of the user even if he is behind a proxy server.
1 2071 posted 16 years ago by jrobinsonc
This is a code to match an IP Address from a source.
0 1874 posted 16 years ago by rupakdhiman
Count how many users are connected to a site (execute this function in every page, put it in the header).
1 2113 posted 16 years ago by ginoplusio
How to get the ip address of the user.
1 2195 posted 16 years ago by ginoplusio
This function will fetch the real IP address of the user even if he is behind a proxy server.
0 1660 posted 16 years ago by paulgrenwood
A simple method of validating an IP address using PHP and regular expressions
2 4733 posted 17 years ago by aristoworks
« Prev 1 Next »