When you will get the error "Cannot add header information"?
Answers were Sorted based on User's Feedback
Answer / vj
Basicaly, any output to screen before an header function,
gives rise to this error.
Is This Answer Correct ? | 3 Yes | 0 No |
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 |
What is lamp in php?
What are the four scalar types of php?
For printing out strings, there are echo, print and printf. Explain the differences.
What is php? Why it is used?
What is stripslashes php?
Whether One-line comment begin with pound sing(#) in php?
How to remove a file?
what is the dirrence in PHP4 & PHP5 . ?
What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?
What language is php written in?
How to create an array from php string?
What is move_uploaded_file in php?