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.