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
What is the difference between the functions strstr() and stristr()?
How do I clear my browser session?
What is php key?
What is the difference between md5(), crc32() and sha1() crypto on php?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
How can I load data from a text file into a table?
What are the advantages of indexes?
Is php fully object oriented?
What is the use of nl2br() in php?
What is the purpose of php?
What exactly is validating and sanitizing?
How can you compare objects in php?
How can you execute php script from the command line?
What is php trait?
Tell me what are the different types of errors in php?