Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
.Net VCL for Delphi 1.0.0.0
ASP. NET C# PDF Software 4.5
LinqConnect Professional 4.8
CAD VCL: 2D/3D CAD in Delphi/C++Builder 14
wolfSSL 3.15.7
CAD DLL 14
AnyStock Stock and Financial JS Charts 8.4.2
ODBC Driver for SQLite 2.4
dotConnect for SugarCRM 1.7
dbForge SQL Complete 5.9
dbForge Studio for MySQL 8.0
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
Top Code
Issue Manager App 1.0
i-Net School Management Script 1.0.4
Online Vacation Rental Booking Website Script 4.3.0
Hotel Management - Full Board Version 6.55
Simple Hill-Climbing 1.0
Ticket Booking System 1.0
College Management System Script 1.0.4
Skincare Management System 1.4
Library Management System 1.0
Faculty Evaluation System 1.1
.Net VCL for Delphi 1.0.0.0
ASP. NET C# PDF Software 4.5
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
MCU 8051 IDE 1.4.7
CPP-2-HTML CSS Source Code Tagger 1.02
Top Rated
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
Get user's IP address even when they're behind a proxy 
File ID: 64325






Get user's IP address even when they're behind a proxy 
Download Get user's IP address even when they're behind a proxy http://code.activestate.com/recipes/578114-round-number-to-specified-number-of-significant-di/Report Error Link
License: Freeware
Downloads: 164
Submit Rating:
Get user's IP address even when they're behind a proxy  Description
Description: 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.

License: Freeware

Related: Address, Cgi, Ip, Web, webpy

O/S:Windows

Downloads: 164



More Similar Code

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 effect on the operation of your site. The intent is simply to provide the information for use by other modules. A function is also provided for you to perform your own lookup, to use in your own...



Correct comment's ip address with X-Forwarded-For http header if you are behind a proxy or load balancer. There is no setting. It should start working once you activate it.

Change log:

* 3/21/2009 1.3: Fixed a bug causing...



How to display visitor's IP Address in a graphic on your website pages (or any other pages) with this simple PHP script. This script makes use of the GD image tools. Can easily be changed to match whatever colors you wish. To use just create an...



Update Status Proxy is a module which provides a work-around for Drupal's inability to handle proxy servers, which makes getting the update status of modules impossible when your site is behind a restrictive firewall.

It works by...



Blog Update Reminder is designed to remind a WordPress blog's author(s) with an email if they haven't made a blog post in a set number of days. When this plugin is installed, it automatically finds all authors (users) of the blog, and sets their...



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...



This script displays the IP address, browser compatibility and referral page of a visitor.



This code demonstrates a simple way to validate IP address using preg_match() PHP function. This is a very simple code, that allows you to perform this task quickly with a minimum lines of code.



ABOUT

This module allows users to login first automatically via their IP address, instead of using a username / password.
HOW IT WORKS

When a user visits any Drupal page, IP Login:

1. Checks if the user is...



This code allows to get the IP address from which the user is viewing the current page.

User Review for Get user's IP address even when they're behind a proxy
- required fields
     

Please enter text on the image