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 php and its uses?

0 Answers  


What does the initials of php stand for?

0 Answers  


Write a program in php to find the occurrence of a word in a string?

0 Answers  


How are cookies created?

0 Answers  


Explain me what is the use of header() function in php?

0 Answers  






What is mean by RSS?How can i use this?

1 Answers   TCS,


How can we know the number of days between two given dates using PHP?

8 Answers   AZTEC, HCL, Navsoft,


How many types of errors in php?

0 Answers  


Explain how can we execute a php script using command line?

0 Answers  


Explain Creating and Naming an Array?

0 Answers  


How to make horizonatl menu and vertical menu responsive

0 Answers  


PHP can be used frontend of for backend?

3 Answers   Global Logic,


Categories