Develop a simple visitor log

hashom's Avatar, Join Date: Apr 2014
Newbie Member
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
1
David Ledger's Avatar, Join Date: Oct 2010
Light Poster
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 like this
0
hashom's Avatar, Join Date: Apr 2014
Newbie Member
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