Welcome To Snipplr


Everyone's Recent Snippets Tagged ip



« Prev 1 2 3
  1. FAV

    GetIP & GetIPPort Regex

    * 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"'`
    Regular Expression 7 views posted 3 years ago by dbiesecke
  2. FAV

    Credit Card Fraud Prevention Using VB.NET

    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.
    VB.NET 7 views posted 3 years ago by Hexahow
  3. FAV

    Getting IP Address

    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:
    JavaScript 3 views posted 4 years ago by apphp-snippets
  4. FAV

    C# motion detection source code: How to achieve tripwire with a USB webcam

    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...
    C# 7 views posted 4 years ago by chewie-wookiee
  5. FAV

    How to send SMS using ASP.NET through HTTP

    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...
    ASP 8 views posted 5 years ago by Gupta86
  6. FAV

    Find Weather Forecast from IP Address

    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...
    PHP 4 views posted 5 years ago by Hexahow
  7. FAV

    IP Address (ipv6) Lookup in Bulk Using C# and MySQL Database

    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...
    C# 7 views posted 5 years ago by Hexahow
  8. FAV

    IP Address (IPv6) Lookup in Bulk Using PHP and MySQL Database

    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...
    PHP saved by 3 people 5 views posted 5 years ago by Hexahow
  9. FAV

    Convert IPv6 Address to IP numbers (C#)

    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.
    C# 10 views posted 5 years ago by Hexahow
  10. FAV

    Convert IPv6 Address to IP numbers

    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.
    VB.NET 9 views posted 5 years ago by Hexahow
  11. FAV

    Find a Real IP address when Proxy is used

    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.
    PHP 7 views posted 5 years ago by KhanOf21Century
  12. FAV

    url, email and ip validation with php

    Simple PHP functions to validate url, email address and ip, functions will return TRUE for valid data and FALSE for invalid data.
    PHP 13 views posted 6 years ago by codingforever99
  13. FAV

    Convert IP Address to Hex

    Covnerts an IP address to it's relative hex value.
    PHP 8 views posted 6 years ago by martyncoup
  14. FAV

    Get Country By IP Address in PHP

    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...
    PHP 12 views posted 6 years ago by apphp-snippets
  15. FAV

    Tiny IP Generator

    A python IP generator works randomly. This project was made out of boredom. Have fun! For non obfuscated code, contact me at [email protected]
    Python saved by 1 person 9 views posted 6 years ago by madfedora
  16. FAV

    Domain Name IP Address Lookup

    Return the IP address from a domain name.
    DOS Batch 12 views posted 6 years ago by mikaelpelle
  17. FAV

    Get ARP MAC from IP address

    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).
    Python 10 views posted 6 years ago by someguy123
  18. FAV

    Get Remote IP Address in PHP

    This code allows to get the IP address from which the user is viewing the current page.
    PHP 7 views posted 7 years ago by apphp-snippets
  19. FAV

    Country list based on browser's language

    The following codes populate the country list into dropdown box based on browser's languages. The country information is getting from geolocation.com
    PHP 7 views posted 7 years ago by Hexahow
  20. FAV

    A function to get the real IP address.

    This function performs several checks to make sure it's getting the correct IP address.
    PHP saved by 3 people 10 views posted 7 years ago by o0110o
  21. FAV

    Validating an IP String in C#

    Quick method to validate a string is a valid IP address.
    C# saved by 2 people 12 views posted 7 years ago by stephenmurby
  22. FAV

    HideMyAss Proxy Grabber

    A small snippet to parse out proxies from http://hidemyass.com/proxy-list/
    C# 9 views posted 7 years ago by icinNet
  23. FAV

    IP Blacklist Check Script

    Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
    PHP saved by 6 people 13 views posted 7 years ago by DNSBL
  24. FAV

    WhoIsLoggedIn.vbs

    Run this script from a command prompt, and you'll be asked for the IP Address or Host Name. Script will first check if PC is ping-able and will return an error message on any unreachable host. If the computer is running, script will return with user...
    Visual Basic saved by 5 people 4 views posted 8 years ago by RobertHirabayashi
  25. FAV

    QueryDNSEnries-AllWindowsCrawler.vbs

    This script, building on my AllWindowsCrawler snippet, records DNS server entries (up to 3) as well as the IP Address and AD site location for a given Server (the AllWindows portion is commented out). This query is filtered to select only IP enabled...
    Visual Basic 0 views posted 8 years ago by RobertHirabayashi
  26. FAV

    Give my public IP

    Bash saved by 2 people 6 views posted 8 years ago by blackthorne
  27. FAV

    Block IP address

    PHP saved by 1 person 3 views posted 8 years ago by ariunbolor
  28. FAV

    Get your visitors IP address

    PHP 6 views posted 8 years ago by ariunbolor
  29. FAV

    Get user IP Address with PHP

    PHP 10 views posted 8 years ago by Push
  30. FAV

    Own DynDns Service, clientside script.

    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.
    Ruby 2 views posted 8 years ago by madc
« Prev 1 2 3