|
Thanks Mel and Nathan.....I guess I missed it when I went through the documentation. Mel; Very true, in my case I need it for internal clients which have 'hardcoded' IP addresses. Thanks again! ----- Original Message ----- From: "Mel Rothman" <mel@rothmanweb.com> To: <web400@midrange.com> Sent: Thursday, February 21, 2002 1:47 PM Subject: Re: [WEB400] Obtaining IP address of client using CGIDEV2 > Use the getenv subprocedure to retrieve the REMOTE_ADDR environment variable. > > Note that many users access the web through proxy servers, socks servers, or > firewall hardware or software that does network address translation, so you > often won't be getting the user's real i.p. address. > > > Mel Rothman, CGIDEV2 Author > IBM eServer Custom Technology Center (CTC), Rochester, Minnesota > http://www-1.ibm.com/servers/eserver/iseries/service/ctc/ > http://www.easy400.ibm.it/en > > > > Michael Skvarenina wrote: > > > > Is there a way to obtain the client's IP address using CGIDEV2? > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > or email: WEB400-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. > > > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.