远程变量常量/动态函数

纯源码,通过远程服务器读取数据,代码模式php文本转代码,加强后台防护 可动态读取加密解密等操作传递参数.
后台相关 远程代码 动态执行 API接口
详情

说明:获取远程服务器动态常量变量
源码类型:纯源码可二开

http://www.bsphp.com/chm-102.html

api接口代码,自行修改.

  1. <?php
  2. $code = plug_set_data('code');
  3. $sql = "SELECT * FROM `plug_remote_variable` WHERE `code`= '$code' ";
  4. $array = plug_query_array($sql);
  5. if (!$array)
  6. {
  7. plug_PrInfo( 'CODE错误 error:1001');
  8. exit;
  9. }
  10. if ($array['type'] == 1)
  11. {
  12. eval(stripslashes($array['text']).';');
  13. if (isset($return))
  14. {
  15. plug_PrInfo( $return);
  16. exit;
  17. } else
  18. {
  19. plug_PrInfo('没有检测到返回变量return error:1003');
  20. exit;
  21. }
  22. } else
  23. {
  24. plug_PrInfo($array['text']);
  25. exit;
  26. }
  27. ?>

安装说明:直接根目录覆盖即可,后台》运营插件》远程变量常量插件

API接口说明地址

相关