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 stored procedures, triggers, indexes in php?

0 Answers  


What are magic methods in php

2 Answers   Net Solution,


What is __ construct in php?

0 Answers  


What is filter_var?

0 Answers  


How to get best php developer Experience in Php with Sugar CRM / VTiger.

0 Answers  






What are traits?

0 Answers  


Is not null in php?

0 Answers  


How can we display the output directly to the browser?

0 Answers  


please send me the interview questions and answers to my mail id : srikanthgovardana@yahoo.com or srikanthgovardana@gmail.com

0 Answers  


1. Create student database. 2. First page should display the students available in the database. There should be add, edit and delete buttons. 3. There should be option to search students by name, code, date of joining, department or combination of these. 4. Should have an add/edit screen. Add and Edit should be handled in the same page. 5. Delete should ask for confirmation before deleting the actual record. 6. Validation should be done in JavaScript as well as php.

0 Answers   Zonex,


How can we get second of the current time using date function?

2 Answers   FD, IBM,


What is the phpstorm?

0 Answers  


Categories