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
Can you extend a final defined class?
Write a program to find no of days between two dates in php?
What type of comments are supported by PHP.
Does php has a future?
What is mvc in php?
Do you know what is use of count() function in php?
Is facebook still written in php?
Tools used for drawing er diagrams?
What is session in c#?
How to Pass JSON Data in a URL using CURL in PHP?
Is not null mysql?
What is the use of stripslashes in php?
What does $_env mean?
How to select a database in php?
How does php strcmp work?