Newbie Spellweaver
- Joined
- Jan 23, 2012
- Messages
- 19
- Reaction score
- 1
The staff page isn't working?
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!how to include a php page
it's just like habboRE and i hate habboRE soz sorry , i don't like it
HabboRE is just the Habbo layout, so what?it's just like habboRE and i hate habboRE soz sorry , i don't like it
$dir = str_replace('core'.D_S, '', dirname(__FILE__).D_S);
$dir = str_replace('style'.D_S, '', $dir);
$dir = str_replace(array('core'.D_S, 'style'.D_S), '', dirname(__FILE__).D_S);
$site = X('http://'.$_SERVER['SERVER_NAME']);
foreach($_GET as $key => $value){
$_GET[$key]=X($value);
}
foreach($_POST as $key => $value){
$_POST[$key]=clean($value);
}
foreach($_REQUEST as $key => $value){
$_REQUEST[$key]=X($value);
}
foreach($_SESSION as $key => $value){
$_SESSION[$key]=X($value);
}
foreach($_COOKIE as $key => $value){
$_COOKIE[$key]=X($value);
}