Hi I have one file where I'm using file_get_contents
to get another php file - the target file should run some php and output an HTML table, which it does if I just load it in the browser, however when I use file_get_contents
to retrieve it, the php code is retrieved, not the html table.
Should I be using something different than file_get_contents
?
What should I be using?