Warning: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' (this will throw an Error in a future version of PHP) in /include/global.php on line 77

Warning: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' (this will throw an Error in a future version of PHP) in /include/global.php on line 77

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /lib/DB.class.php:33 Stack trace: #0 /include/global.php(91): DB->connect() #1 /index.php(3): include('/include/global...') #2 {main} thrown in /lib/DB.class.php on line 33