Mini Shell

Direktori : /home/eymajans/public_html/admin/include/
Upload File :
Current File : /home/eymajans/public_html/admin/include/baglan.php

<?php
// veritabanı bağlantısı için gerekli parametreler






$site = 'https://eymajans.com';

//upload dosya yolu
$targetFolder = '/resimler/';





$host = "localhost";
$vt_adi = "eymajans_anasite";
$kullanici_adi = "eymajans_anasite";
$sifre = "Mevlud166@";
try {
 $db = new PDO("mysql:host={$host};dbname={$vt_adi}", $kullanici_adi, $sifre,
array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
}
// hatayı göster
catch(PDOException $exception){
 echo "Bağlantı hatası: " . $exception->getMessage();
}
error_reporting(0);
?>