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

What are the advantages of triggers in php?

0 Answers  


Where are the session values stored?

1 Answers  


I have done 12th and then i completed 2 years course of web designing and development from xplora design skool, kota(rajasthan). I am a fresher. How much can i earn in this field ?

1 Answers  


discuss the issue of software theft in ghana and how it has affected the economy

0 Answers  


How is a session id generated?

0 Answers  






What is the w3c?

0 Answers  


What is str_replace()?

0 Answers  


What is psr in php?

0 Answers  


How can you get, the total size of a certain directory?

1 Answers  


How to remove blank spaces from the string?

0 Answers  


What is php glob?

0 Answers  


How can we register the variables into a Session?

7 Answers   HCL, Star Computers, Trikon Networks,


Categories