", $html); $html = str_replace("[script", "", $html); $html = str_replace("[?", "", $html); $html = str_replace('"', '"', $html); $html = str_replace("

", "?>", $html); $myFile = "/home/aleta/public_html/pages/weather/Sigs_static_page_edit.htm"; $fh = fopen($myFile, 'w') or die("can't open file"); fwrite($fh, $html."\n"); fclose($fh); $myFile = "/home/aleta/public_html/pages/weather/Sigs_static_page_head.htm"; $fh = fopen($myFile, 'w') or die("can't open file"); fwrite($fh, $headline."\n"); fclose($fh); echo '

Success - back to main menu

'; //echo "

"; include ("http://econintersect.com/pages/weather/weather.php?post=static"); ?>