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

Answers were Sorted based on User's Feedback



when we use ob_start() function in php then the header() and session_start() does not gives the err..

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

when we use ob_start() function in php then the header() and session_start() does not gives the err..

Answer / francis

ob_start indicates that PHP has to buffer data

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More PHP Interview Questions

how can i upload only pdf files in my website? files has not a pdf extension mantioned

0 Answers  


What is the difference between $message and $$message ?

7 Answers   Oracle, TouchStone,


How to add a cookie?

2 Answers  


Are parent constructors called implicitly inside a class constructor?

0 Answers  


What is array filter in php?

0 Answers  


How to convert a string to lowercase in php?

0 Answers  


What is meant by urlencode and urldocode?

2 Answers  


Is session a cookie?

0 Answers  


What is a query in a database?

0 Answers  


Tell me is it possible to submit a form with a dedicated button?

0 Answers  


what type of images that the PHP version supports

4 Answers  


When should you use a stored procedure?

0 Answers  


Categories