Article View: aus.computers.java
Article #942Re: Obtaining IP address of an HTML visitor
From: Terry O'Keefe
Date: Tue, 18 Jan 2000 00:00
Date: Tue, 18 Jan 2000 00:00
31 lines
1526 bytes
1526 bytes
Ben Holko wrote:
>
> Hi all,
>
> I need to add a script that can obtain the IP address of a PC that visits a
> particular webpage. It must work on NS or IE, so Javascript is not an
> option. I've found several Java class files that claim to return the
> address, but they all seem to return localhost/127.0.0.1, whereas I need the
> actual IP of the machine.
>
> Can anyone help me with this one?
>
> Thanks,
> Ben.
>
> --
> Ben Holko
> Network Administrator
> MECC
> bholko@mecc.aust.com
You need a servlet to do this, Let me know if you can't find it.
--
Regards,
(signed) Terry O'Keefe
Terry Comms Pty Ltd
Satellite & Data Networking Systems
Tel: +61 8 9245 9064
Fax: +61 8 9245 4236
see www.terry-comms.com
Technical Details
Message-ID:
<388431E1.46E769E9@terry-comms.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<ykae4.4542$oF2.10391@ozemail.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,28349b1f5a81e426 X-Google-Attributes: gid10d6db,public From: Terry O'Keefe <terryok@terry-comms.com> Subject: Re: Obtaining IP address of an HTML visitor Date: 2000/01/18 Message-ID: <388431E1.46E769E9@terry-comms.com> X-Deja-AN: 574145755 Content-Transfer-Encoding: 7bit References: <ykae4.4542$oF2.10391@ozemail.com.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@prserv.net X-Trace: 18 Jan 2000 09:28:32 GMT, 202.135.74.93 Organization: Terry Comms Pty Ltd MIME-Version: 1.0 Reply-To: terryok@terry-comms.com Newsgroups: aus.computers.java