fix #4

Merged
n merged 2 commits from fix into main 2024-11-03 22:17:13 +01:00
Showing only changes of commit b12fc8bcbd - Show all commits

View file

@ -48,9 +48,9 @@ if (isset($param) && $param == "postgb") {
$VMessage = str_replace("\n", "<br />", $VMessage);
$VMessage = str_replace("&", "&amp;", $VMessage);
$gbline = sprintf("\"".$date."\",\"".$iheure."\",\"".htmlspecialchars($VName)."\",\"".$VEmail."\",\"".$VMessage."\"\n");
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv", "a");
fwrite($goldbook, $gbline);
fclose($goldbook);
// $goldbook = fopen("modules/goldbook/$GoldbookFile.csv", "a");
// fwrite($goldbook, $gbline);
// fclose($goldbook);
mail("n@tourmentine.com", "[TMA] post livre d'or ", $VMessage, "From: ".$VName." <".$VEmail.">\r\nX-Mailer: PHP/" . phpversion());
//unlink("$GoldbookFile.dat");
}