Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www.old
/
private
/
adherent
/
[
Home
]
File: adherent_modif_x.php.old
<?php include("../../inc/enligne_param.inc.php"); include ("../../inc/gere_session.inc.php"); 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']; $Crit = ", photo = '$LeFichier'"; } else{ $Crit = ""; } $req = "UPDATE adherent SET idfpf = '$_POST[idfpf]', idccpsa = '$_POST[idccpsa]', arrive = '$_POST[arrive]', actif = '$_POST[actif]', civ = '$_POST[civ]', prenom = '$_POST[prenom]', nom = '$_POST[nom]', num = '$_POST[num]', voie = '$_POST[voie]', commune = '$_POST[commune]', cp = '$_POST[cp]', tel1 = '$_POST[tel1]', tel2 = '$_POST[tel2]', mail = '$_POST[mail]', cat = '$_POST[cat]', definition = '$_POST[definition]', activite = '$_POST[activite]', login = '$_POST[login]', pass = '$_POST[pass]', droit = '$_POST[droit]', rang = '$_POST[rang]', apn = '$_POST[apn]', style = '$_POST[style]' $Crit WHERE id = $_POST[LeID]"; $rep = mysql_query($req, $con) or die(__line__.$req.mysql_error()); header("Location: adherent.php"); exit(); ?>
©
2020 Black Eagle Team