Welcome, Guest. Please Login or Register.
July 22, 2025, 06:28:11 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Cant delete messages Invalid referring site « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: Cant delete messages Invalid referring site  (Read 631 times)
equineads
Noobie
*
Posts: 12


Yea I am Cool

WWW
Re:Cant delete messages Invalid referring site
« Reply #15 on: December 06, 2003, 11:28:41 PM »
Reply with quote

Quote from: [Unknown] on December 05, 2003, 08:22:33 AM
I could tell you how to disable the referer check, but it's really an important security feature.

-[Unknown]

Still waiting for you too email me???? Where did you go
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Cant delete messages Invalid referring site
« Reply #16 on: December 07, 2003, 06:12:04 AM »
Reply with quote

Sources/Subs.php, find:
   $referer = parse_url($HTTP_REFERER);

   if (strpos($HTTP_HOST,':'))
      $rhost = substr($HTTP_HOST,0,strpos($HTTP_HOST,':'));
   else
      $rhost = $HTTP_HOST;

   if (strlen($referer['host']) && strlen($rhost) && strtolower($referer['host']) != strtolower($rhost))
      fatal_error($txt['yse306']);


And remove it.  Please remember this is NOT RECOMMENDED and by no means am I or anyone else but you taking responsibility for your forum being hacked because of the removal of this IMPORTANT piece of code.

-[Unknown]
Logged
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Cant delete messages Invalid referring site « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.078 seconds with 20 queries.