| Server IP : 167.99.254.82 / Your IP : 216.73.216.231 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/factures/public_html/ |
Upload File : |
<?php
session_start();
if (!isset($_SESSION['compte_user']))
{
header('Location: erreur_surfing.html');
exit();
}
if (!isset($_SESSION['r_devis']))
{
header('Location: BL-Stock.php');
exit();
}
$link = mysqli_connect("localhost", "advery", "EoM6IJlnirGIfcu","factures") or die("Impossible de se connecter : " . mysqli_error());
//Suppression DEVIS
$reponse = "delete from bon_livraison_fournisseur where ref_bl = '$_SESSION[r_devis]' ;";
mysqli_query($link,$reponse);
//Suprresion detail devis
$reponse = "delete from detail_bl_fournisseur where ref_bl = '$_SESSION[r_devis]' ;";
mysqli_query($link,$reponse);
header('Location: BL-Stock.php');
exit();
?>