Menu

Home

Alexey

To install HTTPLog:

  1. Download latest apache+php+mysql package, for example OpenServer.
  2. Enable register_globals in php.ini
  3. Edit mysql.php and input mysql host, user, password, db. Script does not write to mysql, but uses mysql for securing variables.

Usage:

httplog.php?date=2015-10-20&time=10:10&fname=test.log&text=testing

Text variable is optional
Date and time are checked to be not more than 5 minutes away from current time (anti-spam).
You can remove line write_log to debug.log if you do not need debugging.

postfile.php receives files by HTTP POST and puts them into separate date-named folders.

index.php should be opened from browser and shows detected logs in motion.log with red lines.

You can test sending log here:
http://httplog.sourceforge.net/httplog.php?date=2015-10-20&time=10:10&fname=test.log&text=testing

After that you will see your log here:
http://httplog.sourceforge.net/test.log

Here you can see motion log:
http://httplog.sourceforge.net

The wiki uses Markdown syntax.

Project Members: