I have a form that a user uploads data to the server. What I want is when the user clicks a link to a PHP script that will create or build a seperate HTML file. I don't want a .php file that dynamically takes the info from the mysql database and makes the HTML on its own. I want this PHP script to create the HTML page once and, if I choose, never have to use that php script again (unless the user needs to update the page).
What is the best way I can do this, other than using one million different fwrite()'s?