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