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
Is java is better than php?
Is c similar to php?
What are the advantages of indexes?
What is difference between get and post?
Which php framework is best for security?
Is it possible to extend the execution time of a php script?
Which cryptographic extension provide generation and verification of digital signatures?
How to use http headers inside php?
What is meant by PEAR in PHP?
Which function parses an English textual date or time into Unix timestamp in PHP.
What is the use of count() function in php?
How many ways to include array elements in double-quoted strings using php?
What are php magic methods/functions?
What does the initials of php stand for?
What is php stack?