E Enettyket New Member Sep 14, 2012 #1 What is the safest way to accept user inputted programming code in PHP, store it in database and display it back with the HTML pre tag?I currently convert the input to HTML entities, but I somehow think it wouldn't be that easy...Any suggestions?
What is the safest way to accept user inputted programming code in PHP, store it in database and display it back with the HTML pre tag?I currently convert the input to HTML entities, but I somehow think it wouldn't be that easy...Any suggestions?