View file includes/db.php
<?php // Хост $host = 'localhost'; // Пользователь (User) $username = '1gb_waps'; // Пароль (Password) $password = 'f65e9a28'; // Имя базы данных (DataBase Name) $db_name = '1gb_waps'; $link = mysql_connect($host, $username, $password) or die('Could not connect to database'); mysql_select_db($db_name) or die('Could not select database'); ?>