yes you can, the possible scenario there is that you have a admin side of your site wherein you re-generate .html and better .shtml file. Better if .shtml so that you can call an SSI includes.
for example upon pressing the button:
$content="Characters or conditions that you filter from mysql":
@unlink("{$filename}.shtml");
$page=fopen("{$filename}.shtml","w");
flock($page,2);
fputs($page, $content);
flock($page,3);
fclose($page);
chmod("{$filename}.shtml", 0777);
another alternative is using the SSI includes.
example
<!--#include VIRTUAL="dynamic.php"-->
where dynamic.php contains the script that extracts data from mysql.
I hope this help.
thanks,
gigamike
Quote:
|
Originally Posted by TheMaster
I want static html pages, with different info
eg on the html template values like model, website, country, etc should be replaced with values from a database or csv.
|