Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 scope levels available in php and how would you define them?

917


What is the sign to start variables in PHP?

1020


Can you use php and javascript together?

977


What is the use of post in php?

933


Do you know how to declare an array in php?

929


What is the difference between file_get_contents() and file_put_contents() in php?

1107


How can php and javascript interact?

1213


What is the use of array_count_values() in php?

976


What is escape data in php?

900


How the web server interprets php and interacts with the client?

919


Why do we use sessions in php?

917


How can I make a script that can be bilingual (supports english, german)?

973


What are the different components used in php for formatting?

978


How can we calculate the similarity between two strings?

949


What is php constructor?

974