📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
esnafbul.demodesign.com.tr
📝
aktivasyon.php
← Geri Dön
<?php include "includes/header.php"; ?> <title>Aktivasyon | <?php echo $ayar['site_baslik']?></title> <meta name="description" content="<?php echo"$ayar[site_desc]" ?>"> <meta name="keywords" content="<?php echo"$ayar[site_tags]" ?>"> <meta name="news_keywords" content="<?php echo"$ayar[site_tags]" ?>"> <meta name="author" content="<?php echo"$ayar[site_baslik]" ?>" /> <meta itemprop="author" content="<?php echo"$ayar[site_baslik]" ?>" /> <meta name="robots" content="index follow"> <meta name="googlebot" content="index follow"> <meta property="og:type" content="website" /> <div class="section-space--sm bg-primary-5p signup-section"> <div class="container"> <div class="row justify-content-center justify-content-xl-start"> <div class="col-lg-10 col-xl-6"> <?php $kod = $_GET['kod']; if($kod){ $bul = $db->prepare("SELECT * FROM uyeler WHERE aktivasyon=:a"); $bul->execute([':a' => $kod]); if($bul->rowCount()){ $up = $db->prepare("UPDATE uyeler SET durum=:d,aktivasyon=:aa WHERE aktivasyon=:a"); $up->execute([':d' => 1,':aa'=>'',':a'=>$kod]); if($up){ echo "<h1>Üyeliğiniz aktifleştirildi. Giriş Ekranına Yönlendiriliyorsunuz...</h1>"; header('refresh:3;url=giris'); }else{ echo "<h1>Hata oluştu</h1>"; } }else{ header('Location:index.php'); } }else{ header('Location:index.php'); } ?> </div> </div> </div> </div> <?php include "includes/footer.php"; ?>
💾 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