1 Star 0 Fork 34

wesley1224/tvpanel

forked from love/tvpanel 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
getver.php 653 Bytes
一键复制 编辑 原始数据 按行查看 历史
luo2888 提交于 2020-02-24 17:34 . Update
<?php
include_once "config.php";
$appver='V1.0';
$appUrl='';
$sql = "SELECT appver,appurl,up_size,up_sets,up_text FROM chzb_appdata";
$result = mysqli_query($GLOBALS['conn'],$sql);
if($row = mysqli_fetch_array($result)) {
$appver=$row['appver'];
$appUrl=$row['appurl'];
$up_size=$row["up_size"];
$up_sets=$row["up_sets"];
$up_text=$row["up_text"];
}
unset($row);
mysqli_free_result($result);
mysqli_close($GLOBALS['conn']);
$obj=(Object)null;
$obj->appver=$appver;
$obj->appurl=$appUrl;
$obj->appsets=$up_sets;
$obj->appsize=$up_size;
$obj->apptext=$up_text;
echo json_encode($obj,JSON_UNESCAPED_UNICODE);
unset($obj);
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wesley1224/tvpanel.git
git@gitee.com:wesley1224/tvpanel.git
wesley1224
tvpanel
tvpanel
master

搜索帮助