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 |
How can we extract string 'techinterviews.com' from a string 'http://www.techinterviews.com' using regular expression in PHP?
Is it difficult to learn php?
What are php applications?
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?
How to get useful error messages in php?
List out different arguments in PHP header function?
Tell me how is it possible to know the number of rows returned in result set?
How can we get ip address of a client in php?
How to Pass JSON Data in a URL using CURL in PHP?
Tell me what library is used for pdf in php?
What is the difference between implode() and explode() in php?
What is MIME?