"> Nigerian News Chat Rooms " tag. // Both values are boolean. See explanations in 'index.lib.php' file. send_headers(1,1); ?> >
" tag or add php code here. $Is_Error = (isset($Error)); if (isset($_COOKIE)) { if (isset($_COOKIE["CookieUsername"])) $CookieUsername = urldecode($_COOKIE["CookieUsername"]); if (isset($_COOKIE["CookieRoom"])) $CookieRoom = urldecode($_COOKIE["CookieRoom"]); if (isset($_COOKIE["CookieRoomType"])) $CookieRoomType = $_COOKIE["CookieRoomType"]; if (isset($_COOKIE["CookieColor"])) $CookieColor = $_COOKIE["CookieColor"]; if (isset($_COOKIE["CookieStatus"])) $CookieStatus = $_COOKIE["CookieStatus"]; }; $Username = (isset($CookieUsername) ? $CookieUsername : ""); $Room_name = (isset($CookieRoom) ? $CookieRoom : ""); $Room_type = (isset($CookieRoomType) ? $CookieRoomType : ""); $Color = (isset($CookieColor) ? $CookieColor : ""); $Status = (isset($CookieStatus) ? $CookieStatus : ""); layout($Is_Error,$Username,$Room_name,$Room_type,$Color,$Status); // You can add php code here, or add html statements before the "" tag. if ($S) { $conn = @mysql_connect(C_DB_HOST, C_DB_USER, C_DB_PASS) or die ('
Error: Could Not Connect To Database'); echo("Debug data:
Admin name: ".C_ADMIN_NAME."
Admin email: ".C_ADMIN_EMAIL."
App name: ".APP_NAME."
Chat name: ".C_CHAT_NAME."
App version: ".APP_VERSION.APP_MINOR."
Hosting Server IP: ".$_SERVER['SERVER_ADDR']."".(@fsockopen("gravatar.com", 80, $errno, $errstr, 2) ? "" : "
Cache not allowed - cannot get access to gravatar.com!")."
Php server version: ".(!version_compare(phpversion(),'5','>=') ? "".phpversion()." - Cache not allowed" : "".phpversion()."")."
allow_url_fopen: ".(!(ini_get("allow_url_fopen")) ? "".L_DISABLED." - Cache not allowed" : "".L_ENABLED."")."
allow_url_include: ".(!(ini_get("allow_url_include")) ? "".L_DISABLED."" : "".L_ENABLED."")."
fsockopen: ".(!(@fsockopen("ciprianmp.com", 80, $errno, $errstr, 2) && @fsockopen("phpmychat.svn.sourceforge.net", 80, $errno, $errstr, 2)) ? "".L_DISABLED." - Update checking not allowed" : "".L_ENABLED."")."
file_get_contents: ".(!(function_exists("file_get_contents")) ? "".L_DISABLED." - Cache not allowed" : "".L_ENABLED."")."
MySQL server version: ".mysql_get_server_info()."
"); @mysql_close($conn); } // The following line is required $DbLink->close(); } ?>