alright, i thought i would just zip everything at once.
index.php
<?PHP
if(file_exists('config/config.php')) header('Location: login.php');
else header('');
?>
login.php
start.php
functions.php
config.php
<?PHP
define ('DB_HOST', 'localhost');
define ('DB_USER', 'latentli_test');
define ('DB_PASS', '12345');
define ('DB_NAME', 'latentli_test');
?>
pepper.php
<?PHP
/**
* Password pepper
*/
$pepper = 'pc?yACRCM=';
?>
i really cant figure out why i cant fetch data from the online server while the same pieces of code are working well on localhost.