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 i upload only pdf files in my website? files has not a pdf extension mantioned
What is the difference between $message and $$message ?
How to add a cookie?
Are parent constructors called implicitly inside a class constructor?
What is array filter in php?
How to convert a string to lowercase in php?
What is meant by urlencode and urldocode?
Is session a cookie?
What is a query in a database?
Tell me is it possible to submit a form with a dedicated button?
what type of images that the PHP version supports
When should you use a stored procedure?