Z-Blog免费插件 生成站外调用数据

Z-Blog免费插件 生成站外调用数据

没用的插件系列,生成JSON格式的的txt数据文件方便站外调用,等zb1.7出来后就真没用了,因为1.7有api了。用法举例:$json=file_get_contents('http://127.0.0.1/zb_users/plugin/Jz5...

原价:¥ 0.00 优惠价:¥ 0.00 会员价:¥ 0.00
当前位置:首页 > ZBP插件 > Z-Blog免费插件 生成站外调用数据
详情介绍

没用的插件系列,生成JSON格式的的txt数据文件方便站外调用,等zb1.7出来后就真没用了,因为1.7有api了。

用法举例:

$json=file_get_contents('http://127.0.0.1/zb_users/plugin/Jz52_gbll/laoli.txt');
$json_Array = json_decode($json,true); 
    foreach ($json_Array as $lists) {
    echo $lists['url'].'<br>'.$lists['img'].'<br>'.$lists['title'].'<br>'.$lists['Intro'].'<br>'; 
}

插件截图:

站外数据调用.png


1

发表评论