get_index.php 404 B

1234567891011121314151617
  1. <?php
  2. /*
  3. 输出某用户 wbw记录列表
  4. */
  5. require_once "../config.php";
  6. require_once "../public/_pdo.php";
  7. require_once '../public/function.php';
  8. global $PDO;
  9. PDO_Connect(_FILE_DB_USER_WBW_);
  10. $query = "SELECT * from "._TABLE_USER_WBW_BLOCK_." where owner = ? order by modify_time DESC";
  11. $result = PDO_FetchAll($query,array($_COOKIE["userid"]));
  12. echo json_encode($result, JSON_UNESCAPED_UNICODE);