This is because of PHP. INI, there are some incorrect settings, most likely there are invalid DLL files. But why does this happen?
I built an empty test.php file under the WIN32.
Then execute C:php4php.exe test.php, at which point my php.ini configuration is correct. The screen output is:
x-powered-by:php/4.0.0
Content-type:text/html
Hey, isn't that something that's shown on the screen? Yes. However, these two lines are used as HTTP information headers. is not displayed in the browser.
Now I'm loading the php_mysql.dll in the php.ini. And this file does not exist.
Perform C:php4php.exe test.php again, and the screen output is:
Content-type:text/html
PHP Fatal error:unable to load Dynamic library ' Php_mysql.dll '
There are some random characters here.
x-powered-by:php/4.0.0
Content-type:text/html
Just after the content-type:text/html, there are some error messages, so x-powered-by:php/4.0.0 content-type:text/html appear on the screen. And this is actually the HTTP information header.
Then I think in the wrong, if Output_buffering=off, then Setcookie () is not able to use.
Do you understand?
http://www.bkjia.com/PHPjc/632400.html www.bkjia.com true http://www.bkjia.com/PHPjc/632400.html techarticle this is because of PHP. INI, there are some incorrect settings, most likely there are invalid DLL files. But why does this happen? I built an empty test.php file under the WIN32. ...