摘要:
<?php // 路由分发 // 加载所有的依赖 spl_autoload_register(function ($class_name){ require "./controller/{$class_name}.php"; }); // 从路由中获取参数 $action = $_GET['a'] 阅读全文
posted @ 2021-08-02 14:53
老鲜肉
阅读(163)
评论(0)
推荐(0)
摘要:
<?php class MyPDO{ private $type; //数据库类别 private $host; //主机地址 private $port; //端口号 private $dbname; //数据库名 private $charset; //字符集 private $user; // 阅读全文
posted @ 2021-08-02 10:11
老鲜肉
阅读(156)
评论(0)
推荐(0)

浙公网安备 33010602011771号