Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Cannot modify header information - headers already sent (http://www.go4expert.com/forums/modify-header-information-headers-sent-t17601/)

webwss 19May2009 11:17

Cannot modify header information - headers already sent
 
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 19May2009 19:27

Re: Cannot modify header information - headers already sent
 
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 21May2009 22:03

Re: Cannot modify header information - headers already sent
 
use output buffering, call the function ob_start and the beginning of your script.


All times are GMT +5.5. The time now is 19:05.