1. year, month, day, hour, minute, and second? Phpechodate (DATE_ATOM). br; echoDATE_ATOM.br ;? 2. The include may generate a warning but will continue to be executed. does require possibly generate a fatal error? Phpincludeheaderx. php ;?? Phpechodate (DATE_ATOM). br; echoDATE_ATOM.br ;? 3. What are the permissions for reading and writing files? Php $ ffopen (
1. year, month, day, hour, minute, and second? Phpecho date (DATE_ATOM). br/; echo DATE_ATOM.br /;? 2. The include may generate a warning but will continue to be executed. does require possibly generate a fatal error? Php include headerx. php ;?? Phpecho date (DATE_ATOM). br/; echo DATE_ATOM.br /;? 3. What are the permissions for reading and writing files? Php $ f = fopen (
1. year, month, day, hour, minute, and second
";echo DATE_ATOM."
";?>
2. include may generate a warning but will continue to be executed. require may generate a fatal error.
";echo DATE_ATOM."
";?>
3. Read and Write files. Pay attention to permissions.
You can view the directory permission ls-l
At the same time, observe why the current httpd (apache process) user is executing: ps-aux | grep httpd
Then change the response permission to chown.
4.
Setcookie () must be inPreviously, the default value is 30 days, measured in seconds.
5.
Session_start needs to be called in php that requires session