📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
belediyescripti.demodesign.com.tr
📝
paytr.php
← Geri Dön
<?php require_once "_class/baglan.php"; require_once "_class/fonksiyon.php"; $post = $_POST; $merchant_id = magaza_no; $merchant_key = magaza_parola; $merchant_salt = magaza_anahtar; if ($post["status"] == "success") { $siparis = "#" . $post["merchant_oid"]; if ($siparis) { $PayGuncelle = $db->prepare("UPDATE bagis_odeme SET paytronay = '1' WHERE spno = ?"); $PayGuncelle->execute([$siparis]); $Row = $db->query("SELECT * FROM aidat_odemeler WHERE spno = '" . $siparis . "'")->fetch(PDO::FETCH_ASSOC); $aidatbul = $db->query("SELECT * FROM aidatlar WHERE id = '" . $Row["aid"] . "'")->fetch(PDO::FETCH_ASSOC); $AIGuncelle = $db->prepare("UPDATE aidat_odemeler SET paytronay = '1' WHERE spno = ?"); $AIGuncelle->execute([$siparis]); if ($AIGuncelle->rowCount()) { $Guncelle = $db->prepare("UPDATE aidatlar SET odeme = '1', oucret = oucret+'" . $Row["ucret"] . "' WHERE id = ?"); $Guncelle->execute([$aidatbul["id"]]); } } } echo "OK"; ?>
💾 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