🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #377

Re: Visitor IP address

#377
From: simon
Date: Wed, 29 Nov 2000 00:00
57 lines
2245 bytes
This might be the method you are looking for?

InetAddress.getLocalHost

public static InetAddress getLocalHost()

throws UnknownHostException

Returns:
the IP address of the local host.
Throws
UnknownHostException (I-�4.18)
If no IP address for the host could be found.
See Also InetAddress Overview



"Branko" <branko1@dingoblue.net.au> wrote in message
news:3a2211b8$0$15828$7f31c96c@news01.syd.optusnet.com.au...
> huh?
>
> I need something simple, that will just get the ip and
> email it with the order to me.
>
> I saw someone on the net had it when I signed up
> but cant remember who. Didnt need it at the time.
>
>
>
>
> Dwayne Conyers <dwacon@anti-spam.theglobe.com> wrote in message
> news:ZSeU5.145804$td5.21497804@news1.rdc2.pa.home.com...
> > This is captured by your web server and should be available as a session
> > variable in Active Server Pages.
> >
> > --
> > _______________________________
> > How are you fixed for blades?
> > http://www.dwacon.com
> > �������������������������������
> >
> >
> >
> > Branko <branko1@dingoblue.net.au> wrote in message
> > news:3a216f81$0$19440$7f31c96c@news01.syd.optusnet.com.au...
> > > Anyone got a code or knows a website who has one to
> > > display a visitors IP address?
> > >
> > > Need it for security(ordering stuff) information
> > >
> > > Thanks
> > >
> > >
> >
> >
>
>
Technical Details
Message-ID: <SJ%U5.419$Fn.18546865@news.xtra.co.nz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3a216f81$0$19440$7f31c96c@news01.syd.optusnet.com.au> <ZSeU5.145804$td5.21497804@news1.rdc2.pa.home.com> <3a2211b8$0$15828$7f31c96c@news01.syd.optusnet.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10d6db,a2d77e843cf09cd8
X-Google-Attributes: gid10d6db,public
From: "simon" <simon@gatecrashers.com>
Subject: Re: Visitor IP address
Date: 2000/11/29
Message-ID: <SJ%U5.419$Fn.18546865@news.xtra.co.nz>
X-Deja-AN: 698975475
References: <3a216f81$0$19440$7f31c96c@news01.syd.optusnet.com.au> <ZSeU5.145804$td5.21497804@news1.rdc2.pa.home.com> <3a2211b8$0$15828$7f31c96c@news01.syd.optusnet.com.au>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Complaints-To: newsadmin@xtra.co.nz
X-Trace: news.xtra.co.nz 975472626 210.55.81.27 (Wed, 29 Nov 2000 17:37:06 NZDT)
Organization: Xtra
X-MSMail-Priority: Normal
NNTP-Posting-Date: Wed, 29 Nov 2000 17:37:06 NZDT
Newsgroups: aus.computers.java