when we use ob_start() function in php then the header() and
session_start() does not gives the error like header already
sent,please explain in brief
Answers were Sorted based on User's Feedback
Answer / madan
ob_start() function will turn output buffering on. While
output buffering is active no output is sent from the script
(other than headers), instead the output is stored in an
internal buffer.
| Is This Answer Correct ? | 19 Yes | 2 No |
What is the difference between echo, print and printf()?
What is the difference between static and dynamic websites?
How can we determine whether a variable is set?
How to execute a php script from the command line?
What are the two main string operators?
Explain me what is the importance of "method" attribute in a html form?
Tell me what is the use of mysql_real_escape_string() function?
What is cms php?
What is a query in a database?
Tell me what does accessing a class via :: means?
What is the difference server side and browser side validation?
Explain me what is the w3c?