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 is a php namespace?

0 Answers  


what is the default method of form in php?

6 Answers  


Explain about getters and setters in php?

0 Answers  


What is api used for?

0 Answers  


Explain me what is the w3c?

0 Answers  


Tell us how can we access the data sent through the url with the post method?

0 Answers  


Tell me how can we check the value of a given variable is alphanumeric?

0 Answers  


Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

0 Answers  


what is the current salary package in India for a PHP & MySQL programmer who has 3 years experience

127 Answers   ABC, BLG Logistics, Google, HCL, IBM, Infosys, People Group, PHP, Torque Infotech, V Angelz Technologies, Yahoo,


Differentiate between php5 and php7?

0 Answers  


What are the php variables?

0 Answers  


Do you know what is the difference between the include() and require() functions?

0 Answers  


Categories