Thanks phpdr and whispers heres what happened i downloaded a script frome some site can’t remember where so i extracted it and there was no sql file with the script at all, I am trying to fix the script and yes i’m trying to recreate the db sql file… there was no db sql file and i went to the site in the readme but the site doesn’t exist no more i was gonna try to email the author i may still try to… but most of the times i try they never answer me…
I did fix a few things but here is the errors i’m still getting
Notice : Undefined variable: HTTP_SERVER_VARS in C:\UwAmp\www\phpstatus\includes\Template.php on line 16
Notice : Undefined variable: HTTP_SERVER_VARS in C:\UwAmp\www\phpstatus\includes\functions.php on line 16
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘-_groups’ at line 1
I can’t figure that error out i have checked all the files and found it in only acouple of files not sure what it’s suppose to be doing
Heres the php code giving me problems
if(preg_match("/Template.php/i",$HTTP_SERVER_VARS[‘PHP_SELF’])) {
header(“Location: …/index.php”);
exit();
}
$HTTP_SERVER_VARS seems to be the problem
I can Post what i have for the sql so far if that will help lol
BTW the name of the script is PHPStatus Server Status
Thanks Snoop