php.ini文件:
default_charset = "gb2312"
include_path = ".;E:/workspacePHP/oa"
doc_root = E:/workspacePHP/oa
register_globals = On
=============
mysql的my.ini文件:(在插入数据时报错:ERROR 1364 (HY000): Field 'DateIn' doesn't have a default value)
修改为以下即可解决:
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"