Skip to content

e-s-l/discussion

Repository files navigation

About

A pure-php, file-based discussion forum toy, created from first principles.

Based on an example found in "PHP Programming with MySQL" by Don Gosselin.

Inspired by the great 4chan hack of 2025.

TODO

  • be consistent with search, sort and render, whether in models or utilities
  • clearer commentrary
  • take opportunities to delete duplicated code
  • a general error view to render
  • improve the sorter
  • move data directory out of server tree
  • escape characters are saved in storage, but this is ok if we strip them later
  • we need to do proper file locking when reading or writing messages/topics!

Notes

setting-up

the data directory needs to be owned by www-data for read-write.

Sample

example sample of 'discussion' homepage

About

a pure php, file based forum from first principles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published