Cannot modify header information - headers already sent

webwss's Avatar, Join Date: May 2009
Light Poster
Warning: Cannot modify header information - headers already sent

Warning: Cannot modify header information - headers already sent by (output started at C:\webserver\Apache2\htdocs\register.php:1) in C:\webserver\Apache2\htdocs\register.php on line 68
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You have some output like echo / print before the final output you are doing again which means you are sending the headers couple of times
pradeep's Avatar, Join Date: Apr 2005
Team Leader
use output buffering, call the function ob_start and the beginning of your script.