Is there a way to insert data from a WordPress custom field into a custom file instead of into the MySQL database?
The reason I want to do this is because I am trying to set up a custom field as a sort of PHP sandbox for the user and I would like to just use include filename.php in a template file and avoid inserting PHP data into the database and the security vulnerabilities that come along with this, or worse having to use eval after the data has been retrieved from the database.
I'm open to any other suggestions to accomplish this, but I think the easiest would be to store the data in a random php file and circumvent the database altogether.