Alexej Kubarev
New member
Code:
<?php
ob_start();
//Do html output here
$myHtml = ob_get_flush();
At this point your HTML has been outputed but even included in one variable $myHtml that you can use to return the contents by saving it to the file or such.
you will have to make a force-download of he new page thou by sending a header() command with right parameters..
check out this link for more info http://se2.php.net/header