📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv10.demodesign.com.tr
/
includes
/
post
📝
removebasket.php
← Geri Dön
<?php /* * @ https://EasyToYou.eu - IonCube v11 Decoder Online * @ PHP 7.2 * @ Decoder version: 1.0.4 * @ Release: 01/09/2021 */ echo !defined("GUVENLIK") ? exit : NULL; $removeSorgu = $db->prepare("select * from sepet where sepetno=:sepetno "); $removeSorgu->execute(["sepetno" => htmlspecialchars(trim($_GET["move"]))]); if ("0" < $removeSorgu->rowCount()) { echo " "; $sepet = $db->prepare("select * from sepet where sepetno=:sepetno "); $sepet->execute(["sepetno" => htmlspecialchars(trim($_GET["move"]))]); $sep = $sepet->fetch(PDO::FETCH_ASSOC); $urunvaryantEkler = $db->prepare("select * from urun_varyant_ekler where sepet_id=:sepet_id and urun_id=:urun_id "); $urunvaryantEkler->execute(["sepet_id" => $sep["sepetno"], "urun_id" => $sep["urun_id"]]); if ("0" < $urunvaryantEkler->rowCount()) { $silmeislem_ekler = $db->prepare("DELETE from urun_varyant_ekler WHERE sepet_id=:sepet_id"); $silmeislem_ekler->execute(["sepet_id" => htmlspecialchars(trim($_GET["move"]))]); } $silmeislem = $db->prepare("DELETE from sepet WHERE sepetno=:sepetno"); $sil = $silmeislem->execute(["sepetno" => htmlspecialchars(trim($_GET["move"]))]); if ($sil) { header("Location:" . $siteurl . "sepet/"); unset($_SESSION["siparis_islem_id"]); } else { echo "veritabanı hatası"; } } else { header("Location:" . $siteurl . ""); } ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula