When a gym or trampoline park swaps paper waivers for a tablet, the signature itself is the easy part. The hard part is proving, months later, that the person signed this exact text at this exact time . If a claim ever reaches a lawyer, a PNG of a squiggle proves very little on its own.
I run a small waiver SaaS on shared hosting with vanilla PHP and MySQL, no Composer and no framework. Here is the audit-trail design I use, and the traps it avoids.
What the record has to prove
A signed waiver record should answer four questions without anyone trusting my database:
What did they agree to? The exact waiver text and version, not "waiver #12".
Who signed? Name, email or phone, and for minors, the guardian.
When and from where? Server timestamp in UTC, IP address, user agent.
Has anything changed since? Any edit to the record must be detectable.
The first three are columns.…