Page 1 of 1

How Do i remove header already send error using php

Posted: Sat Jul 24, 2010 4:59 am
by rawat167
Please tell me how i can remove the error which is header already send.


Pramod Rawat
http://www.bundelkhanddarshan.com/histo ... khand.html

Re: How Do i remove header already send error using php

Posted: Sat Jul 24, 2010 8:10 am
by internet-solution
If you post your code then somebody may be able to give you specific help.

Otherwise you can have a look at output control functions in php

Re: How Do i remove header already send error using php

Posted: Sat Jul 24, 2010 8:51 am
by oscardog
That error normally means there has been some sort of output send before you use the header() function. If there is any HTML or any output statements(echo/print etc) it will cause an error.

Re: How Do i remove header already send error using php

Posted: Sun Jul 25, 2010 11:48 pm
by rawat167
you can use ob_start(); on the top of file to remove this warning.

Pramod Rawat Tikamgarh
http://www.bundelkhanddarshan.com/histo ... khand.html

Re: How Do i remove header already send error using php

Posted: Mon Jul 26, 2010 5:22 am
by abhardwaj847
<?php

ob_start();

?>

Re: How Do i remove header already send error using php

Posted: Thu Sep 23, 2010 3:50 am
by rawat167
How i can integrate paypal with credit card using php i need to put it on the website of bundelkhand Darshan and the url is given below.
http://www.bundelkhanddarshan.com/bundelkhand-cave.html