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 |
Questions on OOP concepts 1. What are the access specifiers available in php ? Explain 2. What is object cloning ? 3. What are the differences between interface and abstract class ? 4. What is overloading ? 5. What is overriding ? 6. How to prevent function overriding ? 7. What is the use of "final" keyword ? 8. What is static variable ? How will access a static variable ? What is static class ?
What is the use of mysql_real_escape_string() function?
What is the difference between the functions unlink and unset?
How to get the http request in php?
Why and where do we use htaccess?
Where are the persistent cookies stored on your computer?
How do you define a constant in php?
what is the current salary package in India for a PHP programmer who has 1.5 years experience
What is cms php?
How to enable parsing?
What are magic methods in php
what method is used to generate a random number?