I have a module that I cache some details (w/c is from the input of the user) to lessen the load of my database
The way how I cache is by creating html page with the details of the user using fwrite();
the problem is after I try the module of the user, if I input this
<?php
echo "this is from the input of the user";
?>
inside the textarea. After that this details will going to cache, and then when I load the cache file the php code was executed.
The only solution that I have is to strreplace()
this character <?
from their input. Is there any solution?