Posted: Sun Nov 20, 2005 5:19 pm Post subject: PHPNUKE 7.8 FIX: pnFlashGames for PHPNUKE (mainfile.php)
I found another post which it said there were some code in "mainfile.php" which blocks the saving of the scores. Here is the code:
// Posting from other servers in not allowed
// Fix by Quake
// Bug found by PeNdEjO
//if ($_SERVER['REQUEST_METHOD'] == "POST") {
// if (isset($_SERVER['HTTP_REFERER'])) {
// if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
// die('Posting from another server not allowed!');
// }
// } else {
// die($posttags);
// }
//}
As you can see, I blocked it and my scores started to save again. These lines are around line 210 of the 'mainfile.php'.. _________________ http://www.kittykorp.com and http://www.katpaws.com
forahobby Administrator
Joined: May 22, 2003 Posts: 23948 Location: NSW, Australia
Posted: Mon Nov 21, 2005 2:40 am Post subject:
cheers for the info.. I knew there would be a fix here somewhere otherwise you would hear from lots of guys complaining..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum