() After the php website is uploaded to the server, a space is generated on the front-end page.-php Tutorial

Source: Internet
Author: User
Tags php website
(For help) after the php website is uploaded to the server, a space is generated on the front-end page. after the design of my website is complete, it is tested locally. all the pages are normal. However, after being uploaded to the server, a very strange problem occurs on a page. a space is generated in the first line of the page body tag, this results in a blank line at the top of the page displayed in the browser. Problem Description: 1: I downloaded the code of the entire folder on the problematic page from the server and put it to the local machine for testing. No problem. 2: (for help) after the php website is uploaded to the server, a space is generated on the front-end page.
After my website is designed and tested locally, all the pages are normal. However, after being uploaded to the server, a very strange problem occurs on a page. a space is generated in the first line of the page body tag, this results in a blank line at the top of the page displayed in the browser.
Problem description:
1: I downloaded the code of the entire folder on the problematic page from the server and put it to the local machine for testing. No problem.
2: The same problem occurs when the downloaded code is put on the test server.
3: The code is the same in Dreamweaver.
4: After uploading the previous code to the test server, the test server page becomes normal.
5: But there is still a problem when the code is passed to the customer's server provider!
If you have encountered this situation or have any ideas, please give a suggestion! Thank you.

------ Solution --------------------
Reference

Http://www.birdol.com/article/645.html
------ Solution --------------------
Discussion

Reference

Http://www.birdol.com/article/645.html

------ Solution --------------------
Upstairs !!

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.