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 |
What is the difference between array_merge() and array_merge_recursive() in php?
Why is php used for web development?
how to uploade video in php????
what the new feature add in php 7.2?
What is the difference between for and foreach?
display selected value in dropdown list through javascript without page refresh
What is scope of variable in php?
What is the exact Diff. between include_once() and require_once() in PHP?
What are the difference between array_keys() and array_key_exists() in php?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
Tell me what is htaccess? Why do we use this and where?
what use of <?php