I have a text file in a PHP code to integrate, what must I do to the PHP in the text file is executed? Changing the file extension is not in question, as the text for all script files must remain so.
I have a text file in a PHP code to integrate, what must I do to the PHP in the text file is executed? Changing the file extension is not in question, as the text for all script files must remain so.
You could use eval(), but that has inherent risks if the data isn't sanitized.