Php + wml computer browser display all garbled solutions-php Tutorial

Source: Internet
Author: User
Php + wml computer browser displays all garbled characters & lt ;? Php & nbsp; custom file & nbsp; require (& quot; commonIncconn. inc. php & quot;); conndb (); $ root & quot; D: wwwhtdocs & quot; require (& quot; function. php & quot;); php + wml computer browser displays all garbled characters
// Custom file
Require ("common/Inc/conn. inc. php ");
Conndb ();
$ Root = "D:/www/htdocs /";
Require ("function. php ");
$ Title = "mobile edition of Northeast Normal University employment alliance ";
// Output the wml header file
// Header ("Content-type: text/vnd. wap. wml ");
// Header ("Cache-Control: no-cache, must-revalidate ");
// Header ("Pragma: no-cache ");
Echo (" ");
Echo ("");
Echo (" ");
?>

Website in wap.dsjy20.net
For help !! How can it be garbled on a computer browser?

------ Solution --------------------
Check if webpage code is UTF-8
------ Solution --------------------
After checking, it is the cause of file encoding. after being opened with editplus, it can be saved as UTF-8 format.
------ Solution --------------------
Something is missing,

Save all files used as UTF-8

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.