HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 9,115 | Guests: 1228 | Members: 2 


   Current Location: Forums New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Old Xbox boot but wont load games or MS Dashboard   |   New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - i really have a problem that i can't solve
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic  Goto page Previous  1, 2  
 i really have a problem that i can't solve View previous topic :: View next topic  
 
 
 
 
bush3k
Xbox-HQ User
Xbox-HQ User



Joined: Feb 08, 2006
Posts: 10

Post Posted: Thu Feb 16, 2006 10:03 pm   
Post subject:
Reply with quote
 
this iz what a guy said:
"Posted: Fri Oct 21, 2005 12:44 am
Post subject:

As I read in another topic about the code in mainfile.php. I try to replace this

Code:

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



with this

Code:

/*
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 it worked! Well, also in the mainfile.php, it shows that that code is used for against posting from other sites!

Any ideas? Is it risky? "

i can't find that code in any of my files, especialy in my mainfile.php Sad any thoughts?


View user's profile Send private message
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23944
Location: NSW, Australia

Post Posted: Fri Feb 17, 2006 1:58 am   
Post subject:
Reply with quote
 
put it this way.. I dont see it as risky at all coz xbox-hq doesnt check for posting either.. lol.. The admin scripts are the main problem with security.. I have no issues with other areas of my site.

glad you got it working..

FH
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com | www.c64-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
Goto page Previous  1, 2 |
 All times are GMT | Page 2 of 2
Jump to:  
 

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
 


Get Xbox Game Pass Ultimate