Storing the execution of an included .php file
Posted: Mon Mar 23, 2009 10:40 pm
Hi, is it possible to store the output of a PHP script into a string? For example:
included.php:
and then something like
Thanks in advance!
included.php:
Code: Select all
<html>
<?php echo "Hello world"; ?>
</html>
Code: Select all
$included = include("included.php"); // included.php is not output at all