配置文件
<?php
defined(‘ACC‘)||exit(‘Access Denied‘);
$cfg = array();
$cfg[‘host‘] = ‘localhost‘;
$cfg[‘user‘] = ‘root‘;
$cfg[‘pwd‘] = ‘111111‘;
$cfg[‘db‘] = ‘php0620‘;
$cfg[‘port‘] = ‘3306‘;
$cfg[‘charset‘] = ‘utf8‘;
$cfg[‘updir‘] = ‘upload/‘;