Solved

Looking for a client IP from server side

Posted on 2000-04-18
1
142 Views
Last Modified: 2010-03-05
   Is there any perl module that lets me get a client's IP that is logged into my server.  Of most benefit would be a way to look at the layer 3 (return IP) of the IP header.

Thanks for any help,

Phil Lamey
0
Comment
Question by:syu2
1 Comment
 
LVL 16

Accepted Solution

by:
maneshr earned 50 total points
ID: 2727933
you should be able to get the client's IP using the REMOTE_ADDR environment variable.

print $ENV{'REMOTE_ADDR'};
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now