Develop a simple visitor log

Discussion in 'PHP' started by hashom, Apr 25, 2014.

  1. hashom

    hashom New Member

    Joined:
    Apr 25, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hello guys
    could any help me how to do that

    Develop a simple visitor log application for a website using PHP and the MySQL database.

    A visitor log is a logging system that allows visitors of a website to leave public comments about the website and/or its content.


    thank you
     
  2. David Ledger

    David Ledger New Member

    Joined:
    Oct 21, 2010
    Messages:
    11
    Likes Received:
    7
    Trophy Points:
    3
    Location:
    Gloucester UK
    Firstly you need to decide how complex a visitor log you want. (This could be a real world question or a student project question).

    A simple form that submits to a php page that saves a name from a field, the IP address, text from a textarea, and a timestamp into a database is fairly simple. Displaying it in sequence is also simple. However, such a simple system is open to abuse. Do you want users to register before posting? Does that registration need to be confirmed by an email? Do you want an effective captcha? How quickly can you respond to reported abuse?

    On display, do you want to show messages hierarchically?

    If you want more than the basics then is there not something out there already?

    David
     
    shabbir likes this.
  3. hashom

    hashom New Member

    Joined:
    Apr 25, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    yes save name he IP address, text from a textarea, and a timestamp into a database is fairly simple.
    no i dont want users to register before posting?

    do you want to show messages hierarchically?
    yes
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice