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 |
In how many ways we can retrieve the data in the result set of mysql using php?
What is putenv?
Tell me what is the use of explode() function?
How will you calculate days between two dates in PHP?
Do you know what is the use of rand() in php?
What are different types of Print Functions available in PHP?
What is default session time and path in php?
What is repository in php?
Can you use php and javascript together?
What is the functionality of the functions strstr() and stristr()?
PHP can be used frontend of for backend?
What is self in php?