HOME BLOG PORTFOLIO PHOTO CONTACT Admin Login
Warning: Cannot modify header information – headers already sent by in php

Warning: Cannot modify header information – headers already sent by in php this is common error/warning if you use header();

100% solution below:

start of the php page write

ob_start();

and

end of the php page write

ob_flush();//or ob_clean_flush();

Problem should be solved and no need to write exit(); after header();

   Share on Facebook

Page views:694