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 are include() and require() functions?
How to run the interactive php shell from the command line interface?
Explain about the data types in PHP?
What is cookie and why do we use it?
How can image properties be retrieved in php?
What are the three classes of errors that can occur in php?
where to change in php.ini file for file uploading?
How can we display the output directly to the browser?
What is meant by PEAR in PHP?
Is key in array php?
What is the difference between nowdoc and heredoc?
hi..this is kumar...how m,uch time req for php preparation?is any coaching avaiable in vizag for php?