Well, I get your point.
However, you should consider using another solution. For example, a database. Or even a text-file containing the variables. It really doesn't matter, but you do not want to create a separate PHP file for each and every time the script is used.
Consider this;
form.php has a set of fields. A user fills in the necessary data, and submits to submit.php. The latter connects to a mysql database (or opens a text-file if you don't have a database) and stores the variables.
A third script, show.php, accepts a parameter by GET method (show.php?varName=value). The script would check this variable against an identifier in database or text-file (the identifier could be entered in the form, or automatically generated for each entry).
It then reads the variable data, and prints all the necessary HTML code (and includes the necessary PHP-files) to show this like you want. I.e.
<?
include('file.php');
// fetch data to variables and/or array(s)
?>
<head>
<title><? echo $titleVarName;?></title>
<body>
<? echo $bodyText; ?>
</body>
If you were to change the layout, you only have to change one file. Of course you can automate updates of several files, but it's much more of a hazzle.