I figured it out. That article was not quite what I was looking for, but very informative. Thanks Here is my code that I will use ( along with a bunch of Mysql and loops, etc.) to get the job done.
<?php
$myurl = "/test/newsite/index.php";
if (isset($_GET['test'])) {
$myurl.="?test=".$_GET['test'];
}
$mycontents = file_get_contents($myurl);
print $mycontents;
$handle=fopen("index.html","w+");
if (!fwrite($handle, $mycontents)) {
print "Cannot write to file ($filename)";
exit;
}
fclose($handle);
print "finished!";
?>
I can use the file_get_contents() to a url that is a php file (with option tags and it will build my static .html pages. Thanks all.
Matt
http://www.itsasoycandle.com