How to remove header already sent error message in php?

You can remove this error in two steps :

1. There should not be any text (even space) before your header include request.

2. Set Encoding of your file in ANSI Mode(Open your file in Notepad-->Click save as-->set encoding type to ANSI)


I hope it helped!

No comments:

Post a Comment