Said is already has the output, uses the editor to fight, before clearly nothing, originally in uses the Ajax time, also appeared this kind of situation, later, put this PHP file to open in the Linux, will find, in the file's front, will appear "nobelium" such a character (inside quotation marks), it removes later, then runs, OK, run normally. Later on the Internet to search for some files, the explanation is: UTF8 file BOM (Byte Order mark) flag, when saved will be automatically deposited!
Whatever it is, the goal now is to get rid of it, and I'll summarize the following three ways:
1, open under Linux, remove and then save
2, open with WordPad, put the cursor to the front and rear carriage return, and then knock Delete, back to the first line, so that the front of the character will be removed
3, using the UltraEdit editor (a very useful editor, on-line more is, their own down), open the Advanced----configuration----unicode/utf-8 detection, automatically detect UTF-8 files, automatic detection of non-BOM Unicode files, such as the front of the hook all removed, Then you open that file, you will find that the "nobelium" character appears, delete is ok
Stupid method: Do you do this when there are a lot of pages?
In the PHP page header directly set Ob_start ();, you can solve!
Workaround:
Modify Session.auto_start in php.ini = 0 = Session.auto_start = 1
output_buffering = change to On or any number.
Then don't forget to restart ...
http://www.bkjia.com/PHPjc/321005.html www.bkjia.com true http://www.bkjia.com/PHPjc/321005.html techarticle said is already has the output, uses the editor to fight, before clearly nothing, originally in uses the Ajax time, also appeared this kind of situation, later, put this PHP file to open in the Linux, will ...