Originally posted by mobileGIGS
View Post
What i get is: header already sent..undefine variable..undefine "ref".. Blabla..blabla..bla.. N many more.
Plz fix this script, it has a lot of error. I'll try to fix it, but it make me crazy. I dont get what use of "ref" in
if(!dbConnect() && $_GET['ref']!=10000){
global $SITENAME,$LOGFILE;
$detail = "Could not connect to database ".$DBNAME.", please check configuration file.";
errorLogging($LOGFILE,$detail);
header('Location: index.php?ref=10000');
exit();
It make me get Undefine "ref" and header already sent
Comment