Warning: Use of undefined constant DOCUMENT_ROOT - assumed 'DOCUMENT_ROOT' (this will throw an Error in a future version of PHP) in /var/www/vhosts/backupcreator.com/public_html/bc/index.php on line 18
Warning: Use of undefined constant SCRIPT_FILENAME - assumed 'SCRIPT_FILENAME' (this will throw an Error in a future version of PHP) in /var/www/vhosts/backupcreator.com/public_html/rap_admin/settings.php on line 100
Warning: Use of undefined constant SCRIPT_NAME - assumed 'SCRIPT_NAME' (this will throw an Error in a future version of PHP) in /var/www/vhosts/backupcreator.com/public_html/rap_admin/settings.php on line 103
// Database config
$dbhost="localhost";
$dbname="backup_rap";
$dbuser="backup_rap";
$dbpass="assnugget2468";
define("MYSQL_DB_HOST", "localhost");
define("MYSQL_DB_NAME", "backup_rap");
define("MYSQL_DB_USER", "backup_rap");
define("MYSQL_DB_PASSWORD", "assnugget2468");
?>
Warning: Use of undefined constant MYSQL_DB_USER - assumed 'MYSQL_DB_USER' (this will throw an Error in a future version of PHP) in /var/www/vhosts/backupcreator.com/public_html/rap_admin/library/my_sql.php on line 397
Warning: Use of undefined constant MYSQL_DB_PASSWORD - assumed 'MYSQL_DB_PASSWORD' (this will throw an Error in a future version of PHP) in /var/www/vhosts/backupcreator.com/public_html/rap_admin/library/my_sql.php on line 397
Warning: Use of undefined constant MYSQL_DB_NAME - assumed 'MYSQL_DB_NAME' (this will throw an Error in a future version of PHP) in /var/www/vhosts/backupcreator.com/public_html/rap_admin/library/my_sql.php on line 397
Warning: Use of undefined constant MYSQL_DB_HOST - assumed 'MYSQL_DB_HOST' (this will throw an Error in a future version of PHP) in /var/www/vhosts/backupcreator.com/public_html/rap_admin/library/my_sql.php on line 397
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/backupcreator.com/public_html/rap_admin/library/my_sql.php:36
Stack trace:
#0 /var/www/vhosts/backupcreator.com/public_html/rap_admin/library/my_sql.php(397): db->db('MYSQL_DB_USER', 'MYSQL_DB_PASSWO...', 'MYSQL_DB_NAME', 'MYSQL_DB_HOST')
#1 /var/www/vhosts/backupcreator.com/public_html/rap_admin/settings.php(128): include_once('/var/www/vhosts...')
#2 /var/www/vhosts/backupcreator.com/public_html/rap_admin/includes/index.php(32): include('/var/www/vhosts...')
#3 /var/www/vhosts/backupcreator.com/public_html/bc/index.php(18): include('/var/www/vhosts...')
#4 {main}
thrown in /var/www/vhosts/backupcreator.com/public_html/rap_admin/library/my_sql.php on line 36