fix #4
1 changed files with 3 additions and 3 deletions
|
@ -48,9 +48,9 @@ if (isset($param) && $param == "postgb") {
|
||||||
$VMessage = str_replace("\n", "<br />", $VMessage);
|
$VMessage = str_replace("\n", "<br />", $VMessage);
|
||||||
$VMessage = str_replace("&", "&", $VMessage);
|
$VMessage = str_replace("&", "&", $VMessage);
|
||||||
$gbline = sprintf("\"".$date."\",\"".$iheure."\",\"".htmlspecialchars($VName)."\",\"".$VEmail."\",\"".$VMessage."\"\n");
|
$gbline = sprintf("\"".$date."\",\"".$iheure."\",\"".htmlspecialchars($VName)."\",\"".$VEmail."\",\"".$VMessage."\"\n");
|
||||||
$goldbook = fopen("modules/goldbook/$GoldbookFile.csv", "a");
|
// $goldbook = fopen("modules/goldbook/$GoldbookFile.csv", "a");
|
||||||
fwrite($goldbook, $gbline);
|
// fwrite($goldbook, $gbline);
|
||||||
fclose($goldbook);
|
// fclose($goldbook);
|
||||||
mail("n@tourmentine.com", "[TMA] post livre d'or ", $VMessage, "From: ".$VName." <".$VEmail.">\r\nX-Mailer: PHP/" . phpversion());
|
mail("n@tourmentine.com", "[TMA] post livre d'or ", $VMessage, "From: ".$VName." <".$VEmail.">\r\nX-Mailer: PHP/" . phpversion());
|
||||||
//unlink("$GoldbookFile.dat");
|
//unlink("$GoldbookFile.dat");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue