<?php set_time_limit(600); //配置数据库 $dbserver = "127.0.0.1"; $dbusername = "root"; $dbpassword = "密码"; $database = "test"; //其他配置 ……