What is the safest way to accept user-entered program code in PHP, save it in a database and display it using the HTML pre-tag?
I am currently converting input to HTML objects, but for some reason I think it will not be so simple ...
Any suggestions?
source
share