http://www.atomicdesigns.net/adime/perl/lists/env.html
You'll be wanting the REMOTE_ADDR details. HTH John -----Original Message----- From: Rahul Garg [mailto:[EMAIL PROTECTED]] Sent: 21 November 2001 13:02 To: [EMAIL PROTECTED] Subject: getting ip address Hi everybody, The problem goes like this : from html i am calling a perl script. in that perl script what i want is : if (the request is comping from ip adress==w.x.y.z) { #####code } else { #####code } what should i do to know from which ip address the request is coming in perl... any suggestions......refrences..sample perl script for this will be of immense help. Thanks Rahul --------------------------Confidentiality--------------------------. This E-mail is confidential. It should not be read, copied, disclosed or used by any person other than the intended recipient. Unauthorised use, disclosure or copying by whatever medium is strictly prohibited and may be unlawful. If you have received this E-mail in error please contact the sender immediately and delete the E-mail from your system. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]