UPDATE 10Jun12:
I have not had chance to package up the source code for this - however - it is all written. There's a full write up/article detailing exactly what I did/how it works here:

PHP MySQL "instant" Audit Trail:
http://www.flatcoder.co.uk/php-mysql-instant-auditorauditing/

This came about when a client asked for a way to audit their system. The codebase was an old PHP application with more files/scripts that anyone would like to plough through!

The solution was a simple "drop in" replacement for the mysql_query call. From there, a simple search/replace on the codebase.

The auditor will capture "who did what" and "when". It is also smart enough to fully parse the raw MySQL query and compare updates to existing rows. Only actual changes are recorded in the audit log (database table) regardless of the SQL.

Finally, a simple web viewer for reviewing and managing the audit trail. Job done. :-)

Project Samples

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow MySQL PHP Simple Auditor

MySQL PHP Simple Auditor Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MySQL PHP Simple Auditor!

Additional Project Details

Intended Audience

Developers, Auditors

User Interface

Web-based

Programming Language

PHP

Database Environment

SQL-based

Related Categories

PHP Database Software, PHP Site Management Software

Registered

2012-05-07