Welcome To Snipplr


Everyone's Recent Snippets Tagged ip



« Prev 1 2 3
* Usefull as shell command and everyting else `get-ip='egrep -o "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}"'` `get-ipport='egrep -o "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}[0-9 :]+" | sed -e "s/ //g"'`
0 26 posted 3 years ago by dbiesecke
Checking customer's IP address if is match with billing address is one of the simple steps in order to prevent fraud. If you are looking for sample codes to validate that the transaction is being requested by the real cardholder, see below.
0 33 posted 3 years ago by Hexahow
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 26 posted 4 years ago by apphp-snippets
Tripwire is a special part of motion detection that can be used to monitor and alert on specific changes. More specifically: tripwire means the detection of intrusion. This code snippet presents how to create a C# software by using prewritten comp...
0 40 posted 4 years ago by chewie-wookiee
Hello Guys, This short ASP.NET code snippet is intended to provide you a brief review on how to add SMS functionality to your website. You will see, this is a very simple but smart solution. This ASP.NET application is able to send messages by usi...
0 45 posted 5 years ago by Gupta86
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 27 posted 5 years ago by Hexahow
Use the code below to lookup IP address in bulk using C-Sharp programming languages and IP2Location MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country of origin from the visitor's IP address. Free databases are a...
0 38 posted 5 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 40 posted 5 years ago by Hexahow
Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.g. country, state, city, latitude/longitude, ZIPs, timezone and so on. Free database can be downloaded at http://lite.ip2location.com.
0 105 posted 5 years ago by Hexahow
Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.g. country, state, city, latitude/longitude, ZIPs, timezone and so on. Free database can be downloaded at http://lite.ip2location.com.
0 54 posted 5 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 40 posted 5 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 45 posted 6 years ago by codingforever99
Covnerts an IP address to it's relative hex value.
0 73 posted 6 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 56 posted 6 years ago by apphp-snippets
A python IP generator works randomly. This project was made out of boredom. Have fun! For non obfuscated code, contact me at [email protected]
1 30 posted 6 years ago by madfedora
Return the IP address from a domain name.
0 32 posted 6 years ago by mikaelpelle
This can be used to get arp mac address from a ip address. Remember that MAC addresses are in arp tables (volatile), that's why a ping is done first. But i don't know if timing between ping call and arp call is enought to make sense (of pinging).
0 61 posted 6 years ago by someguy123
This code allows to get the IP address from which the user is viewing the current page.
0 34 posted 7 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 34 posted 7 years ago by Hexahow
This function performs several checks to make sure it's getting the correct IP address.
1 46 posted 7 years ago by o0110o
Quick method to validate a string is a valid IP address.
1 26 posted 7 years ago by stephenmurby
A small snippet to parse out proxies from http://hidemyass.com/proxy-list/
0 49 posted 7 years ago by icinNet
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1 90 posted 7 years ago by DNSBL
1 26 posted 8 years ago by blackthorne
1 21 posted 8 years ago by ariunbolor
0 27 posted 8 years ago by ariunbolor
0 34 posted 8 years ago by Push
Clientside script for a personal DynDNS service. Works together with a server-side script written in php [ http://snipplr.com/view/55482/own-dyndns-service-serverside-script ] . You may want to set up a cron jop to run this script every x minutes.
0 20 posted 8 years ago by madc
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 19 posted 8 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 14 posted 8 years ago by michaJlS
« Prev 1 2 3