The solution of PHP output random code

time:18-03-09 forum:PHP tools and code
  PHP output chaotic code output page directly output chaotic code, in the page without definition of coding, solution, in the head add:
php file
[code].lt;? Header ('Content-Type: text/html; charset=utf-8');.Gt; [/code]

and the file to be stored as UTF-8 format

MYSQL database connection also set
[code]mysql_query (.Quot;);

prev:For MySQL Illegal mix of collations (gbk... next:The 81 year old Chou Lan Lan old man cut...
post comment
Notice



approved      Returnees in mountainous areas suppo...   Where is the old Ji'nan? More than 3...   A small set of fingers can adjust th...   In the mountains, after 80 years hai...
rand   PHP upload file code, suitable for b...   Install.php simple production   The use of UBB in PHP   The difference between engine=innodb...   Method of importing massive data fro...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com