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

Why triggers are used in mysql?

0 Answers  


How to remove values saved in the current session?

0 Answers  


Is runtime polymorphism overriding?

0 Answers  


What is composer used for?

0 Answers  


Can you use php and javascript together?

0 Answers  






Does empty check for null?

0 Answers  


What is helper library?

0 Answers  


What is the difference between laravel and php?

0 Answers  


Where is session value stored php?

0 Answers  


Explain the difference between array_merge() and array_combine()?

0 Answers  


What is constructor and destructor?

0 Answers  


What is an operator in php?

0 Answers  


Categories