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
 
 
When You Register, These Ads Go Away!
Old 03-01-2009, 08:26 PM Re: Log IP adresses
chrishirst's Avatar
Super Moderator

Posts: 22,221
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!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
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
Super Moderator

Posts: 22,221
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!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-03-2009, 09:24 AM Re: Log IP adresses
chrishirst's Avatar
Super Moderator

Posts: 22,221
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!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
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 - employmentbook.com
Project #2 - listento.fm
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.14754 seconds with 13 queries