LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / home / cuneytsener53 / kurumsal37.snrsoft.com.tr / | Server Ip : 104.21.78.54 |
Filename | /home/cuneytsener53/kurumsal37.snrsoft.com.tr/database.php |
Size | 374 |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 28-Dec-2023 10:12 |
Last accessed | 04-Apr-2025 23:28 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
$base_url = "https://kurumsal37.snrsoft.com.tr/"; // Lütfen Örnekteki gibi giriniz, aksi takdirde hata verecektir.
try {
$db = new PDO("mysql:host=localhost;dbname=cuneytsener53_kurumsal37", "cuneytsener53_cuneyt", "Jko001196met!?");
} catch ( PDOException $e ){
print $e->getMessage();
}
$db->exec("SET NAMES 'utf8'; SET CHARSET 'utf8'");
?>
$base_url = "https://kurumsal37.snrsoft.com.tr/"; // Lütfen Örnekteki gibi giriniz, aksi takdirde hata verecektir.
try {
$db = new PDO("mysql:host=localhost;dbname=cuneytsener53_kurumsal37", "cuneytsener53_cuneyt", "Jko001196met!?");
} catch ( PDOException $e ){
print $e->getMessage();
}
$db->exec("SET NAMES 'utf8'; SET CHARSET 'utf8'");
?>