>>  Site Map >>  Forums >>  Tips and Tricks

Forum module - topics in forum:



Tips and Tricks - Get the most from your PHP-NUKE website. Post things you have discovered and would like to share with others.



Arcade Mod: Not Registering Scores w/ Patched 3.1+

In 3.1 Patched Open your mainfile.php and find

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);
   }
}

And comment it out so it looks like:
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);
//  }
//}
Don't forget to make a backup of the mainfile.php BEFORE proceeding.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS