Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 02-28-2009, 09:30 PM Log IP adresses
Junior Talker

Posts: 3
Name: takuro
Trades: 0
Hello- I was wondering is it is possible to create a page that will get the ip address of the visitor, then put in into a SQL table. I have moderate knowledge of ASP, and no knowledge of SQL. Any help is appreciated! Thank you1
neikariam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-01-2009, 08:26 PM Re: Log IP adresses
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Yes it certainly is.

<self promo link drop>
http://www.candsdesign.co.uk/article...page-tracking/
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-02-2009, 09:18 PM Re: Log IP adresses
Junior Talker

Posts: 3
Name: takuro
Trades: 0
Thank you very much! I'm looking at the page right now. I hope it works!
neikariam is offline
Reply With Quote
View Public Profile
 
Old 03-02-2009, 09:21 PM Re: Log IP adresses
Junior Talker

Posts: 3
Name: takuro
Trades: 0
.....Actually, this does not help much. I already know how to display a user's ip address to them, and to track with cookies, etc. but I want to know how to place the ip in a sql table, and then automatically track the location of the ip. As it turns out, I just found a website that des this for free. All you do is add a small bit of code. tracemyip.com
neikariam is offline
Reply With Quote
View Public Profile
 
Old 03-03-2009, 09:22 AM Re: Log IP adresses
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
but I want to know how to place the ip in a sql table, and then automatically track the location of the ip
So not what you originally asked for then?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-03-2009, 09:24 AM Re: Log IP adresses
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
BTW did you click the link to get the code that saves the details into a database?

http://www.candsdesign.co.uk/article.../show-code.asp
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-03-2009, 06:33 PM Re: Log IP adresses
Novice Talker

Posts: 14
Trades: 0
Hope this help

INSERT INTO youtable (ip) VALUES ('"&Request.ServerVariables("REMOTE_ADDR")&"')
__________________
Project #1 -
Please login or register to view this content. Registration is FREE

Project #2 -
Please login or register to view this content. Registration is FREE

webtlk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Log IP adresses
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25235 seconds with 12 queries