Private-messaging-system
Private-messaging-system copied to clipboard
This is my own class for private messaging system, built using plain PHP. It's still under development. To find out more, visit the issues page.
In the public function get all messages you have Where id = message_id. Where are you getting the message id at this point?
Mysqli
mysql_\* is Deprecated on php 7.0 then i change to mysqli
At this point, there is no security check for the messages that are being sent to someone. It needs to be added the latest xss and other security checks.
One of the options that is must have is link checking. For example if user enters www.example.com in his message it should be displayed as a link.