Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www.old
/
private
/
adherent
/
[
Home
]
File: adherent_ajout_x.php.old
<?php include("../../inc/enligne_param.inc.php"); include("../../inc/gere_session.inc.php"); // AJOUT DE LA DATE DE MODIF DANS LA BASE $req = "update date set date='$_POST[date]', heure='$_POST[heure]' "; $rep = mysql_query($req,$con) or die(__LINE__.$req.$mysql.error()); //on enregistre les nouveaux membres dans la base if(is_uploaded_file($_FILES['photo']['tmp_name'])) { $chemin="../trombin/".$_FILES['photo']['name']; move_uploaded_file($_FILES['photo']['tmp_name'],$chemin); $lefichier=$_FILES['photo']['name']; } $req = "INSERT INTO adherent (id, idfpf, idccpsa, arrive, actif, civ, prenom, nom, num, voie, commune, cp, tel1, tel2, mail, photo, cat, definition, activite, login, pass, droit, rang, apn, style) VALUES ('', '$_POST[idfpf]', '$_POST[idccpsa]', '$_POST[arrive]', '$_POST[actif]', '$_POST[civ]', '$_POST[prenom]', '$_POST[nom]', '$_POST[num]', '$_POST[voie]', '$_POST[commune]', '$_POST[cp]', '$_POST[tel1]', '$_POST[tel2]', '$_POST[mail]', '$lefichier', '$_POST[cat]', '$_POST[definition]', '$_POST[activite]', '$_POST[login]', '$_POST[pass]', '$_POST[droit]', '$_POST[rang]', '$_POST[apn]', '$_POST[style]' )"; $rep = mysql_query($req,$con) or die(__LINE__.$req.$mysql.error()); header("Location: adherent.php"); ?>
©
2020 Black Eagle Team