html - PHP file_get_contents function -


i developing php-based websites. when try load file same directory using file_get_contents, server did return string, php code of file returned. want file after compiled php, not native code. how can fix problem?

use instead:

include "file.php"; 

Comments