rss.inc.php
来自「学校网站源码http://您的网址/admin/admin_login.asp 」· PHP 代码 · 共 36 行
PHP
36 行
<?php
function readrss( )
{
global $customer;
$type = $_REQUEST['type'];
$rssarr = array(
"domain" => $_SERVER['HTTP_HOST'],
"type" => $type
);
$arr = $customer->call( "RemoteRss", $rssarr );
if ( $arr['ifexist'] == "yes" )
{
$func = $arr['dofunc'];
$func( $arr['tbl'], $arr['menuid'] );
}
}
function readinfo( $tbl, $menuid )
{
global $msql;
$msql->query( "select * from {$tbl} where menuid='{$menuid}'" );
while ( $msql->next_record( ) )
{
$arr['title'] = $msql->f( "title" );
$arr['body'] = $msql->f( "body" );
}
return $arr;
}
require_once( "adm/nusoap/nusoap.php" );
$server = "http://www.eb2000.cn/medipro/webservice/soapserver.php";
$customer = new soapclient( $server );
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?