Computing.Net > Forums > Programming > ip address

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ip address

Reply to Message Icon

Name: mat1979
Date: March 4, 2005 at 04:10:15 Pacific
OS: mandrake 10.1
CPU/Ram: amd 2g 512 mg
Comment:

hi guys there are many websites out there who give the ip address of their visitors, i just would like to know how, if any of you know?

let's say, what code should i put on my webpage to have it perform the trick? of course i have little programming knowledge so my page is only html, a script maybe would work?

Stuart: i wanna do it, is all. please don't say "Why do you want to do that though?"
thanx

now i wish you all a good day



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: March 4, 2005 at 06:48:41 Pacific
Reply:

if you can use asp on your site, you can use the SessionContents object to get it, otherwise you will need to use a javascript

Chi

They mostly come at night...mostly


0

Response Number 2
Name: mat1979
Date: March 4, 2005 at 09:17:11 Pacific
Reply:

sure that's what i want a javascript given that i don't even know what asp is...

i wish someone could elaborate further on that javascript part!

thanx again
bye mat


0

Response Number 3
Name: Michael J (by mjdamato)
Date: March 4, 2005 at 19:17:57 Pacific
Reply:

Hmm, I found several examples in about 5 seconds by doing a search on Google for "javascript find IP address". I would provide a link for you, but then I thought about the old addage of giving a person a fish instead of teaching them to fish. So, go get your own fish!

By the way since Stuart hasn't asked: Why do you want to do that though?

Oh man, I crack myself up!

Michael J


0

Response Number 4
Name: mat1979
Date: March 5, 2005 at 01:36:58 Pacific
Reply:

well that's for sure but it ain't working

maybe stuart hasn't asked cause i asked him not to!

so it doesn't work, do you think it may have something to do with my using linux and firefox?

the answer i get is either your ip is or your ip is unknown

any idea?


0

Response Number 5
Name: mat1979
Date: March 5, 2005 at 01:37:39 Pacific
Reply:

well that's for sure but it ain't working

maybe stuart hasn't asked cause i asked him not to!

so it doesn't work, do you think it may have something to do with my using linux and firefox?

the answer i get is either your ip is !--#echo var="REMOTE_ADDR"-- or your ip is unknown

any idea?


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: ip address

VBScript IP Address within range www.computing.net/answers/programming/vbscript-ip-address-within-range/14735.html

IP Address www.computing.net/answers/programming/ip-address/2728.html

IP address message www.computing.net/answers/programming/ip-address-message/4892.html