Changed the way the DB creds are stored

Changed the database creds from being stored in a PHP file to being
stored in an .ini file and then using the parse_ini_file function to
get the correct values