An error occurs when I save a php file. when I save the php file, the following prompt is displayed in the background. the page is displayed normally, but this is the case in the background.
Warning: Cannot modify header information-headers already sent
This is the file content
# [General]
$ StrBack = "return ";
$ StrTempNotexists = "the template file is not ";
$ StrIcErr = "incorrect graphic verification code ";
$ StrNorights = "no permission ";
$ StrMember = "member ";
$ StrGuest = "tourists ";
$ StrMore = "more ";
# [Turning pages]
$ StrPagesUp = "PREV ";
$ StrPagesDown = "NEXT ";
$ StrPagesStart = "HOME ";
$ StrPagesEnd = "END ";
$ StrPagesDi = "PAGE ";
$ StrPagesYe = "";
# [Management functions]
$ StrAdminModle = "management ";
$ StrAdminTitle = "administrator logon ";
$ StrAdminUser = "administrator account ";
$ StrAdminPass = "administrator password ";
$ StrAdminSubmit = "administrator logon ";
$ StrAdminImg = "graphic verification code ";
$ StrAdminLoginErr1 = "Enter the administrator account and password ";
$ StrAdminLoginErr2 = "the administrator account or password is incorrect ";
$ StrAdminLoginErr3 = "enter a verification code that is consistent with the one displayed in the image. click the verification code picture to change it ";
If (strstr ($ pub_hs, "85wu.") {exit ;}
# [Plug-in management]
$ StrPlusHidden = "hide ";
$ StrPlusAdd = "Add ";
$ StrPlusDel = "delete ";
$ StrPlusSetup = "settings ";
$ StrPlusColAll = "all ins ";
$ StrPlusNTC1 = "the page settings are successfully saved ";
$ StrPlusNTC2 = "exit setting mode ";
$ StrPlusNTC3 = "the module you selected does not have any plug-ins available on this page ";
$ StrPlusPlanUse = "application typographical solution ";
$ StrPlusPlanDel = "delete layout scheme ";
# [Page settings]
$ StrPageName = "page name :";
$ StrPageTitle = "webpage Title :";
$ StrPageMetaKey = "key :";
$ StrPageMetaCon = "search description :";
?>
Reply to discussion (solution)
Add error_reporting (E_ERROR | E_PARSE) to the running php file );
Solved. you cannot open it with a notebook and save it.