Php redirection has encountered a problem. please help me. I swear I have been searching for it for six hours, but I still haven't found any problem-php Tutorial

Source: Internet
Author: User
Php redirection has a problem. please help me. I swear that I have been searching for six hours, but I still haven't found out what's wrong with Warning: cannot modify header information-headers already sent by (output started at index. php: 1) in login_functions.inc.php on line 7

Php redirection has encountered a problem. please help me. I swear that I have been searching for six hours, but I still haven't found any problem.
Everything works normally on my local server, but this problem occurs as soon as I run on the network. in my opinion, there is only an error message in front of the header, and there is no output in front of it, what is the error message? How to debug? I'm so depressed. Why are there so many problems with the network server when the local server runs normally?


Reply to discussion (solution)

Print $ url verification. if the verification is the same, check whether the introduced php files on the server have bom headers.

Apparently, index. php has a BOM header, while your server has a lower php version.

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.