...
Info |
---|
The implementation of this coding standard is on going. As the Rogo ExamSys code base is some 18 years old the code base will take some time to be fully compliant. Contributors should focus on their own changes being compliant. If they would like to help making the older code compliant that would be appreciated. |
...
Code Block | ||
---|---|---|
| ||
// This file is part of ExamSys // // RogōExamSys is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // RogōExamSys is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with RogōExamSys. If not, see <http://www.gnu.org/licenses/>. |
...
Although it is good practice not to show PHP errors on a production server, Rogō ExamSys should be written so that no errors occur when error reporting is set to E_ALL.
...
MySQLi Prepared Queries
For speed Rogō ExamSys currently uses direct mysqli connections for speed and security. Use prepared queries following the object oriented style:
...