2025年11月3日
摘要: // 检测GET变量是否存在 if (isset($_GET['writer'])) { // 变量存在 $writer = $_GET['writer']; } else { // 变量不存在 $writer = ''; } // 检测GET变量是否存在且有值(不是空字符串、0、null等) if 阅读全文
posted @ 2025-11-03 12:47 小沙盒工作室 阅读(6) 评论(0) 推荐(0)
摘要: <?php // viewer.php - 小说目录文件列表查看器 if (!isset($_GET['novel']) || empty($_GET['novel'])) { die('无效的小说名称'); } $novelName = $_GET['novel']; $novelDir = "小 阅读全文
posted @ 2025-11-03 12:02 小沙盒工作室 阅读(5) 评论(0) 推荐(0)