I am on a Linux server (CentOS), and would like to know what would be the best programming language for scripts that offer quizzes/questionnaires (mostly personality tests and IQ tests).?
The scripts would typically offer quizzes/multiple quizzes of 30 questions or more, display reports at the end with analysis and right/wrong answers, and send reports to users' emails.
Users should be able to log in at later dates and view their results again, re-take a quiz, or take more quizzes.
In the past I have had quizzes written in Perl and PHP with MySQL as the database, however now those scripts need to be replaced.
What programming language would be most appropriate for my purposes, in terms of factors such as security, functionality and being on platforms that are constantly being updated and renewed?
Thanks for your help!