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

Answer Posted / francis

ob_start indicates that PHP has to buffer data

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use javascript in php?

722


What is final class and final method in php?

772


How cookies are transported from browsers to servers?

706


Is php better than python?

733


How to set cookies in PHP?

816


What is the use of friend function in php?

741


How to replace a text in a string with another text in php?

743


What is the difference between php and java?

727


What do you mean by core php?

696


What is laracast?

795


How to remove blank spaces from the string?

722


How to check if a string contains a character or word in php?

765


Name some of the functions in php.

701


What is a persistence cookie?

695


What does $_ post mean in php?

828