-
First of all, to be clear, this is not gibberish, but error information.
You must have changed the display errors to on so that the error output is turned on.
Originally, your program had an error, but if you turn off the error output, you can't see that there is an error output now.
See your error message is that the linked database failed.
There are other errors in the last one.
You should change error reporting to e all & e notice so that there are no notice-level warnings.
-
This is caused by not installing zend or zend not taking effect.。。 Check the server variables to see if PHP has zend installed.
-
All of them are special big guys. The encryption algorithm, but also the decryption algorithm, I really admired it to death.
Come on, come on, add this sentence and try it.
Add :header('content-type: text/html; charset=utf-8');
-
Do you run the page after garbled? Or is it gibberish per se**?
The page is garbled and incorrectly encoded. **No, the encoding is incorrect or encrypted (the encryption method is different for each version, and it is very difficult to decrypt).
-
Encrypted too. There is decryption software to try.
-
Where does the Jun family live (Cui Hao).
-
php Chinese garbled code is mainly encoded incorrectly, there are the following two situations, you use this to check it, change the encoding on the line.
1. The encoding of the PHP file itself should match the encoding of the web page.
a.If you want to use GB2312 encoding, PHP needs to output the header :header("content-type:
text/html; charset=gb2312"), static pages are added, all files are encoded in ansi, which can be opened with notepad, and save as selection is encoded as ansi, overwriting the source file.
b.If you want to use UTF-8 encoding, PHP needs to output the header :header("content-type:
text/html; charset=utf-8"), static pages are added, and all files are encoded in UTF-8 format. It may be a bit troublesome to save as UTF-8, generally UTF-8 files will have BOM at the beginning, if you use session will have problems, you can use editplus to save, in editplus, tools-> parameter selection-> file->UTF-8 signature, select always delete, and then save to remove BOM information.
2.PHP itself is not Unicode, and all functions such as substr must be changed to mb substr (mbstring extension is required); Or transcode with iconv.
-
Your header is set to utf8The default browser is GBK, and the browser encoding leaf is changed to utf8Or auto-detection.
If you don't enter the tiger's den, you will get the tiger. Practice, the queen of science (Bacon) Practice is the only goal of testing the truth of the pre-emptive reasoning, the factual wait a minute.
The dog's head doesn't need thorns, the ADC is a ballast in front of the dog's head, and of course you're a ballast if you don't replenish the troops. The more troops should be replenished in the early stage, and the more troops should be replenished, the better. And then the dazzling light, in fact, after shaking the light, you can directly come out of the madman. >>>More
1.What was the purpose of Confucius's thought?
2.How should the influence of Confucius be fully utilized in modern times? >>>More
Collect accurate spend data
Ensuring that the sourcing data you get is accurate and consistent can be challenging. Expenses are not submitted correctly, different vendors provide different data, and other obstacles arise. >>>More
1: Q: What year does "Romance of the Three Kingdoms" tell the story from which year to which year? >>>More