Re: Web-site management + ethics



On 20 Jan, 02:42, Jeff <dont_bug...@xxxxxx> wrote:
travel2light wrote:
Hi,
This is my first time here I hope someone can help me with an ethical
dilema I have encounted..

I have recently started studying PHP and MySQL and I have been
developing a script for registering users to website. It is based on a
tutorial project I found here:http://phpsense.com/php/php-login-script.html
(which is really great btw!). So I have been playing with the code and
adding features such as the ability to block users temporarily and
also to block IP addresses. For implementing this I have been using
MySQL. I have got one table called 'ip_log' which is the source of my
concern.. it consists of the following fields:
* ID
* IP_ADDRESS
* LAST_LOGIN
* COUNT

The logic is that everytime the user logs in from a new IP_ADDRESS
than their ID along with the other fields are added to ip_log.
LAST_LOGIN stores the date and time that the user last logged in from
that IP address. If the user has already logged in from this IP
address then COUNT is incremented by 1. If the user has not logged in
from this IP address before, then a new record is inserted and COUNT
is set to 1.

It's not clear to me what the problem is.

   As far as ethics, it's your website and you can control access any
way you want. Although I think tracking IP addresses is poorly suited,
particularly since dynamic IPs are widely used on the ISP side. Many if
not most ISPs charge extra for a static IP.

   Now, if you are worried about collecting information, take a close
look at your server logs, you can parse a lot more out of that then what
IP they dialed in from.

   Jeff

I did not know it was possible to do this. Where can I find the server
logs? I am running Apache with wampserver.

Michael



.



Relevant Pages

  • True Story
    ... I wanted to Write a story, and welcome anyone to my website. ... Editors / Listeners / readers" Its a new website that i welcome ... first time she had someone hear her… ... friend or otherwise? ...
    (misc.writing)
  • Re: VHS Tracking Problems... can this be solved?
    ... and this is the first time it's been used. ... menu I can find and there are not any tracking controls. ... Regarding Ken's comments - yes the Sharp website is messed up. ...
    (rec.video.desktop)
  • Re: 16th decimal place added to National Debt Tuesday
    ... Florida wrote: ... > for the first time on Tuesday. ... Since this website makes it each to peruse day ranges, ...
    (soc.retirement)
  • Re: OK, Im done asking questions.
    ... I've decided to stick with NAV ... that since no website with comparisons were suggested. ... If you couldn't be bothered to read them the first time, I'm surprised that people had the patience to come back later and continue a discussion with you. ... Nil Carborundum Illegitemi ...
    (alt.comp.anti-virus)
  • Re: Squadron rant
    ... I ordered several items, normally totalling around ... I ordered via the website like I usually do. ... First time that has happened when ... I get the annual catalog as well as the monthly flyer. ...
    (rec.models.scale)