I haven't written logs for a long time, and I haven't written a system for PHP for some time.Code. Review possible problems:
Warning
: Session_start () [function. Session-start
]:
Open_basedir restriction in effect. File (F:/Windows/temp/) is not
Within the allowed path (s): (E:/foot/; E:/apmserv5.2.6/tmp/uploadtemp/;) inE:/foot/login. php
On Line4
Fatal Error
: Session_start () [<
Href = 'function. Session-start'> function. Session-start </a>]:
Failed to initialize storage module: files (Path:) inE:/foot/login. php
On Line4
This problem occurs after session_start () is enabled.
I read the following blog:
Http://topic.csdn.net/u/20091114/11/c3d69f26-51a6-48b2-9510-b613c53baee1.html? R = 61284075.
His final solution still cannot solve the problem, so I found the solution at http://iwj.me/study/257.html#, which I felt convenient,
Based on my actual experience, modifying the. ini file is prone to errors. This configuration file does not serve only oneProgram, So the consequences of modifying the configuration file
It may have a big impact. Pass
Ini_set
(
'Session. save_path'
,
Dirname
(
_ File __
)
.
'/../Dirname /'
)
;
You can get rid of issues that involve global variables. Relatively acceptable.