Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/ayar.php
<?php

$host = "localhost";
$dbadi = "veritabani_adi"; // Veritabaný ismi
$dbkadi="veritabani_sifresi"; // Veritabaný kullanýcý adý
$dbsifre = "sifre"; // Veritabaný þifresi

$baglanti = @mysql_connect($host,$dbkadi,$dbsifre) or die ("Veritabaný baðlantýsý yapýlamadý.");
mysql_select_db($dbadi,$baglanti) or die ("Veritabaný seçilemedi.");
mysql_query("SET NAMES 'latin5'");
mysql_query("SET CHARACTER SET latin5");
mysql_query("SET COLLATION_CONNECTION = 'tf8_turkish_ci'");

//Genel Script Ayarlarý

$tarih = date("d.m.Y"); 
$saat = date("H:i:s");

?>
Return current item: MythPHP