note 48909 deleted from function.eval by tularis
| From: | tularis@php.net | Date: | Tue, 11 Jan 2005 22:01:13 +0000 |
| Subject: | note 48909 deleted from function.eval by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83105@lists.php.net to get a copy of this message | ||
Note Submitter: tw at ksc dot dk
----
How about
<?php
ob_start();
include 'test.php';
$output = ob_get_contents();
ob_end_clean();
$fh = fopen('output.html', 'w');
fwrite($fh, $output);
fclose($fh);
?>
<html>
<body><h1>Done!</h1></body>
</html>
For generating static files from script?