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 you will get the message/error "headers already sent"?

Answer Posted / suren

if u print any message on the browser using echo statement
or any html tags before using the "session_start()" like
statements in the scripts.
if u want to overcome that problem
simply write "ob_start();" at the very starting of script
and "ob_end_flush();" at the end.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we display the output directly to the browser?

988


What is the use of mysqli_real_escape_string() function?

917


A process can run only in the background. State Whether True or False?

1124


How to invoke a user function?

971


Do csrf tokens expire?

984


What is purpose of @ in Php?

1089


how to track no of users logged in?

1027


Do you know what is the differences between $a != $B and $a !== $B?

1001


What is helper function?

941


How to get ip address of a server in php?

1024


What is the difference between apache and tomcat?

1017


What is difference between post and put in rest?

1008


What is echo in html?

890


How a variable is declared in php?

955


When is a conditional statement ended with endif?

974