Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www.old
/
private
/
pa
/
[
Home
]
File: pa_ajout_x.php
<?php include("../../inc/enligne_param.inc.php"); include("../../inc/gere_session.inc.php"); if(is_uploaded_file($_FILES['visuel']['tmp_name'])) { $chemin="../../pict/accroche/".$_FILES['visuel']['name']; move_uploaded_file($_FILES['visuel']['tmp_name'],$chemin); $lefichier=$_FILES['visuel']['name']; } $req = "INSERT INTO petites_annonces (id_pa, def_pa, comment_pa, visuel_pa, prix_pa, lien_pa, membre_pa, date_pa) VALUES ('', '$_POST[produit]', '$_POST[commentaires]', '$lefichier', '$_POST[prix]', '$_POST[mail]', '$_POST[membre]', '$_POST[date]')"; $rep = mysql_query($req,$con) or die(__LINE__.$req.$mysql.error()); header("Location: pa.php"); ?>
©
2020 Black Eagle Team