Currently I use the file_get_contents command to include the html of a file. Now I added PHP to it and it is causing a problem. The PHP is being read as html and thus not executed. How can I retrieve the file content with the PHP executed?
Oh and I need the content in a tring. So include doesn’t work in this case I believe, right?
Thanks!
The content of the included file (with PHP being executed) is in
$contents.