Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Active User’s IP Adress
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Active User’s IP Adress

 Post Reply Post Reply
Author
mantey View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2005
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mantey Quote  Post ReplyReply Direct Link To This Post Topic: Active User’s IP Adress
    Posted: 03 May 2005 at 5:21am

How to make an active server page with list of active users, where also ip adresses of users are displayed, and this ip adresses are visible only to forum admin.

I have a great problem with unknown user (only one of that kind, others are not unknown), who is active on my forum for up to 500 min and more. This is horrible, even more horrible is, that I don't know his IP adress. I have my page on hosted server, so I cannot see the servers log (or can I?).

Any suggestion how to get the ip of this active user (and of course other users), but not letting other visitors to see this information (about IP)?

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2005 at 6:16pm
The behavior you're descibing is a forum default for admin users. Clicking on the ip adress also pops up the "Block this ip" window. Other users don't see the ip

Lead me not into temptation... I know the short cut, follow me.
Back to Top
mantey View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2005
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mantey Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2005 at 6:37am
I am talking about active users listed on active_users.asp, who have not posted any post. I don't know what is ip adress of user (OS: unknown, Browser: unknown). I don't know how to get ip adress of this user, considering the fact I have my site on hosted server, so I presume I  don't have permissions to see the log of all the visitors, that visited my site.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2005 at 7:03am
view raw logs is on a host ot host situation.

the IP is in the 0 field of the application array so if you response.write the 0 field within each loop of the array you'll get the IP Address
Back to Top
simon121 View Drop Down
Groupie
Groupie


Joined: 28 December 2004
Location: Israel
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote simon121 Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2005 at 7:37am
just replace line 5 and give the dir to your DB
 
 
sorry if there some lines in hebrew u can change it Embarrassed
Back to Top
CKA Dr Von Sock View Drop Down
Newbie
Newbie


Joined: 26 May 2004
Location: Canada
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote CKA Dr Von Sock Quote  Post ReplyReply Direct Link To This Post Posted: 05 May 2005 at 1:52pm
This should take care of what you are looking for
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.