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
Answer Posted / 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 |
Post New Answer View All Answers
How to redirect a page in php?
What is php and features of php?
What is difference between compile time and run time polymorphism?
Tell me can you extend a final defined class?
How long does a php session last for?
What are getters and setters and why are they important?
Which is the latest version of php?
What is the best way to avoid email sent through php getting into the spam folder?
Tell me how to set a page as a home page in a php based site?
What is the timeout period on session values?
Explain me differences between get and post methods?
What is the use of isset() in php?
What is the function func_num_args() used for?
Why would we use === instead of ==?
What is the apache?