From 5e10d06ec584e7b19e6d4a53b0a327db665005bf Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 15 Jun 2022 16:30:08 +0000 Subject: [PATCH] Ajout choix de redirection --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 6ce7653..eb68fcd 100644 --- a/index.php +++ b/index.php @@ -78,10 +78,11 @@ str_replace(';', ' ', $_POST['codepostal']) . ";" . strtoupper(iconv('utf-8','ASCII//IGNORE//TRANSLIT',str_replace(';', ' ', $_POST['ville']))) . ";" . iconv('utf-8','ASCII//IGNORE//TRANSLIT',str_replace(';', ' ', $_POST['mail'])) . ";" . - str_replace(';', ' ', $_POST['mailalec']) . ";" . + iconv('utf-8','ASCII//IGNORE//TRANSLIT',str_replace(';', ' ', $_POST['mailalec'])) . ";" . str_replace(';', ' ', $_POST['xmppalec']) . ";" . str_replace(';', ' ', $_POST['cotisation']) . ";" . - str_replace(';', ' ', $_POST['mode'])); + str_replace(';', ' ', $_POST['mode']) . ";" . + str_replace(';', ' ', $_POST['rediralec']) ); file_put_contents($filepath . "pre_adhesion" . date("Y-m-d") . $numero_pre_adh, $content);