Welcome! Log In Create A New Profile

Advanced

Can I extract the last IP address in X-Forwarded-For and assign it to a variable

January 22, 2010 08:46PM
Hi,
I want to get the last IP address in the X-Forwarded-For header and assign it to a variable. I'm doing this using embeded perl now. Is there
a way I can do this using the map module and regular expressions?
Subject Author Posted

Can I extract the last IP address in X-Forwarded-For and assign it to a variable

chittis January 22, 2010 08:46PM

Re: Can I extract the last IP address in X-Forwarded-For and assign it to a variable

Maxim Dounin January 22, 2010 10:52PM

Re: Can I extract the last IP address in X-Forwarded-For and assign it to a variable

chittis January 23, 2010 06:10AM

Re: Can I extract the last IP address in X-Forwarded-For and assign it to a variable

Maxim Dounin January 23, 2010 09:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 321
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready