I\'m trying to take the html content of my .php file with file_get_contents but i can not manage it. It takes .php content no matter what i do so I hope you understand and can h
If you want to get the output in a string, you can use the following code:
ob_start(); include '/path/to/file.php'; $content = ob_get_clean();