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 to store date to database

5 Answers   ConSim,


Which function would you use to insert a record into a database in php?

0 Answers  


What is the function mysql_pconnect() usefull for?

0 Answers  


What are the encryption techniques in php?

0 Answers  


What is form submission?

0 Answers  


How to communicate with sockets in php?

1 Answers  


How can we encrypt the username and password using PHP?

13 Answers   Avaria, HCL, TCS, Xpert,


What are the advantages and disadvantages of cascade style sheets?

0 Answers  


Does cors prevent csrf?

0 Answers  


Who is the father or inventor of php?

0 Answers  


What is advanced php programming?

0 Answers  


Where do I run php code?

0 Answers  


Categories