⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getxml.php

📁 flashget43的源代码 一个比较常用的下载程序
💻 PHP
字号:
<?php
	//error_reporting(0);
	
	$req = array_merge($_GET, $_POST);
	
	$GLOBALS['fc_config_stop'] = true;
	if($req['c'] == 'lin' || !isset($req['id']) || !$req['id'] || $req['c'] == 'tzset' || $req['c'] == 'srtbt') 
		$GLOBALS['fc_config_stop'] = false;
	
	include_once('inc/common.php');
	
	if($req['c'] == 'glan') include_once('inc/langs/' . $req[l] . '.php'); 
		
	$GLOBALS['fc_config_stop'] = false;
	
	header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
	header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
	header("Cache-Control: no-store, no-cache, must-revalidate");
	header("Cache-Control: post-check=0, pre-check=0", false);
	header("Pragma: no-cache");

	header("Pragma: public");
	header("Expires: 0");
	header("Content-type: text/xml");
	//header('Content-type: text/plain');

	$conn =& ChatServer::getConnection($req);
	$mqi = $conn->process($req);
	
	ChatServer::purgeExpired();
?>
<response id="<?php echo $conn->id?>">
	<?php 
		while($mqi->hasNext()) {
			$m = $mqi->next();
			echo($m->toXML($conn->tzoffset));
		}
		
		if($req['c'] == 'msg' && $GLOBALS['fc_config']['enableBots']) 
		{
			$GLOBALS['fc_config']['bot']->processMessages();
		}
	?>
</response>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -