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 |
Why do we use htaccess and where?
How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?
What is the latest version of php?
How do I clear my browser session?
What is the different between cookies and session in php?
What is echo and print in php?
What is the difference between query and inquiry?
What are getters and setters and why are they important?
What is the difference between the functions unlink and unset?
can we use PGP with PHP?
What is exception handling in php?
How do you format and output a number with leading zero's?