I have a strange problem with Nuke 7.9. Or better, a friend has. I set up a site and asked my friend to register. When he tried, he got the following error on a blank white page:
"Posting from another server not allowed!"
I manually added a user for him, but when he tried to login, he got the same error again.
Does anyone know why this error occurs? So far, he is the only one with this problem.
// Posting from other servers in not allowed
// Fix by Quake
// Bug found by *beep*
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);
}
}
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