<?php $servername = "vh438.timeweb.ru"; $username = "cx38976"; $password = "2013Sasha"; $dbname = "cx38976_amogus"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password); // Set the PDO error mode to exception $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); //echo "Connected successfully"; } catch(PDOException $e) { echo "Connection failed: " . $e->getMessage(); } ?>
сам сайт: https://bxx.tw1.su/
дб.пхп
конфиг.пхп
https://pastebin.com/0tcWDSCg