A simple messaging system in PHP