Tag Archive | output buffering

Warning: session_start(): Cannot send session cache limiter – headers already sent PROBLEM!!!

This problem mostly occurs if the server administrator has disabled output buffering. It is easy to fix it, the only thing you have to do i to put <?php ob_start(); ?> and  <?php ob_end_clean(); ?>


<?php ob_start(); ?>

php code here before html code generate

<?php ob_end_clean(); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">