In include/user_management.php there are a lot of PDO statements without try-catch-blocks. They should all have proper exception handling.
For this pupose I'd suggest adding a logging mechanism (i.e. a log file).
Also we should add a webChessException class to catch all exceptions thrown by WebChess.
In include/user_management.php there are a lot of PDO statements without try-catch-blocks. They should all have proper exception handling. For this pupose I'd suggest adding a logging mechanism (i.e. a log file). Also we should add a webChessException class to catch all exceptions thrown by WebChess.