When you will get the error "Cannot add header information"?

Answers were Sorted based on User's Feedback



When you will get the error "Cannot add header information"?..

Answer / vj

Basicaly, any output to screen before an header function,
gives rise to this error.

Is This Answer Correct ?    3 Yes 0 No

When you will get the error "Cannot add header information"?..

Answer / krisha

When page has html doctype on the starting of page.or some
echo statement on page when page is return or there is
header function on same page.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More PHP Interview Questions

How do you use an array in excel?

0 Answers  


What is RSS?How to use it in Program?

3 Answers  


Is php a backend?

0 Answers  


What are the functions used in php?

0 Answers  


how can i find number of rows in a table using MS Access and php? i used odbc_num_rows($query); but it returned -1.

1 Answers  


How to upload any files extension in our database Ex.(.doc,.txt,mp4,mp3 etc.)in php

1 Answers  


What is url encoding and decoding in php?

0 Answers  


How many types of php are there?

0 Answers  


What is the maximum size of a database in mysql?

0 Answers  


What is whitespace in html?

0 Answers  


Can we extend two classes in php?

0 Answers  


how can refresh current page automatically, without press any button and anchor tag.

5 Answers  


Categories