Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
iBBCode / iBBTags by Kazuki Przyborowski - http://idb.berlios.net/
- $FileInfo: ibbcode.php - Last Update: 07/20/2011 SVN 723 - Author: cooldude2k $
+ $FileInfo: ibbcode.php - Last Update: 08/01/2011 SVN 734 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="ibbcode.php"||$File3Name=="/ibbcode.php") {
return html_entity_decode($matches[1], ENT_QUOTES, $BoardCharSet); }
function do_html_bbcode($text) {
return preg_replace_callback("/\[DoHTML\](.*?)\[\/DoHTML\]/is","html_decode",$text); }
+function idb_exec_php_handler($buffer) { return $buffer; }
function exec_php($matches) {
global $BoardCharSet;
- ob_start();
+ ob_start("idb_exec_php_handler");
$matches[1] = html_entity_decode($matches[1], ENT_QUOTES, $BoardCharSet);
@eval("?> ".$matches[1]);
return ob_get_clean(); }
Copyright 2008-2011 iDB Support - http://idb.berlios.de/
Copyright 2008-2011 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: versioninfo.php - Last Update: 07/31/2011 SVN 733 - Author: cooldude2k $
+ $FileInfo: versioninfo.php - Last Update: 08/01/2011 SVN 734 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
return $return_var; }
// Version number and date stuff. :P
$VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 7; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 733;
-$SVNDay[0] = 07; $SVNDay[1] = 31; $SVNDay[2] = 2011; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 734;
+$SVNDay[0] = 08; $SVNDay[1] = 01; $SVNDay[2] = 2011; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
$AltName = "RDB"; $AltName2 = "ReneeDB"; $RName = "iDB"; $SFName = "IntDB";
$RFullName = "Internet Discussion Boards"; $AltFullName = "Renee Discussion Boards"; $AltGM2k = "ReneeDB Team";
$VerCheckName = "iDB"; $AltVerCheckName = "RDB"; $AltiDBHome = "http://duckduckgo.com/?q=ReneeDB";
Copyright 2004-2011 iDB Support - http://idb.berlios.de/
Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: sql.php - Last Update: 07/31/2011 SVN 733 - Author: cooldude2k $
+ $FileInfo: sql.php - Last Update: 08/01/2011 SVN 734 - Author: cooldude2k $
*/
/* Some ini setting changes uncomment if you need them.
Display PHP Errors */
"Accept: */*\r\n".
"Connection: keep-alive\r\n".
"Referer: ".$isiteurl."\r\n".
- "From: ".$isiteurl."\r\n"
+ "From: ".$isiteurl."\r\n".
+ "Via: ".$_SERVER['REMOTE_ADDR']."\r\n".
+ "Forwarded: ".$_SERVER['REMOTE_ADDR']."\r\n".
+ "X-Forwarded-For: ".$_SERVER['REMOTE_ADDR']."\r\n".
+ "Client-IP: ".$_SERVER['REMOTE_ADDR']."\r\n"
)
);
-$icontext = stream_context_create($iopts); } }
+$icontext = stream_context_create($iopts);
+function file_get_contents_alt($filename,$use_include_path=null,$offset=-1,$maxlen=null) {
+global $icontext;
+return file_get_contents($filename,$icontext,$use_include_path,$offset,$maxlen); } } }
$iDBVerName = $VerCheckName."|".$VER2[1]."|".$VER1[0].".".$VER1[1].".".$VER1[2]."|".$VER2[2]."|".$SubVerN;
/*
This way checks iDB version by sending the iDBVerName to the iDB Version Checker.