Function to get the user's IP address in a web app or CGI script, even when they're behind a web proxy.
We use web.py as our web framework, but change web.ctx.env and web.ctx.get('ip') to whatever the equivalents are for the CGI environment variables and REMOTE_ADDR are in your framework.
show-visitor-ip-address used to show visitor ip address in single post only or as widget, every visitor can only saw his/her ip address and they could click on their ip address.
If the ip address is clicked, they will be redirected to...
CCK IP Address adds fields, widgets and validation for IP addresses and address ranges to CCK.
You can use this module to add an IP address or an IP range to your node.
You can configure the form to reject private IPs.
a simple python script that sends a dhcp discover packet and recieves the dhcp offer that contains a suggested ip address, gateway, dns servers and displays them.
Ipgp ip address lookup can be installed as a plugin and it works as a sidebar. It can lookup the IP address a visitor enters in a form, and he will get country, city and state.
The Widget displays following user information:
* IP Address
* Operating system
It is multilingual.
Live preview (your information):
# Installation :
ASP Authentication Using IP Address is an ASP article through which users can get detailed description of protecting their website by checking the valid visitors username and password. In this article author describes about security tricks,...
Banning Certain IP Address' To Your Site is an ASP article in which author describes about how to restrict certain visitors IP address. This code will be helpful for the users to redirect the banned IP visitors and it is easy to integrate into...
Everytime you change IP address, you can have this program execute. It will use Dos commands to obtain your IP address and modify a file to redirect users to your hosted web server. The file is then uploaded to a ftp site of your choice.
Do you want to know the IP address of a visitor? This can be useful for many reasons, such as tracking site usage or blocking access to specific people. Here's how you can find it.
Ipplan Ip Address Management System is a multi-platform compatible web based, multilingual, IP address management and tracking tool based on php 4, simplifying the administration of your IP address space. IPplan can handle a single network or...
This code allows to get the IP address from which the user is viewing the current page.
Uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface, given the name of that interface, e.g. "eth0". The address is returned as a string containing a dotted quad.
Convert dotted-quad IP addresses to long integer and back, get network and host portions from an IP address, all nice and fast thanks to the builtin socket module (with a little help from the builtin struct module, too).
HaCi is an IP Address / Network Administration Tool with IPv6 Support. It stores its data efficiently in a relational Database and uses a treelike Strukture to illustrate supernets and subnets. Additional (template) data can be linked to each network
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:
This module uses a visitor's IP address to identify the geographical location (country) of the user. The module makes this determination and stores the result as an ISO 3166 2-character country code in the Drupal $user object, but otherwise has no...
* Find the country and host info for an IP address
* Shows host name if available
* Shows country name and 2 letter country code
* Shows country flag image
* Easy links to more lookups such as spammer blacklists, and...
Sends out an email to the blog admin when a user accesses the blog with a certain IP address. The email will be sent out only once a visitor's browser session to avoid email spam to you. ;-)
There's only one...