Warning: session_start() Cannot send session cache limiter
Bonsoir,
je ne comprends pas pourquoi j'ai cette erreur :
Citation:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home1/thio175/public_html/TP/tp5.php:2) in /home1/thio175/public_html/TP/tp5.php on line 4
auriez vous une idée s'il vous plait?
Etant donné que voici mon code :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| <?php
ob_start();
session_start();
$numero = 5;
$_SESSION['tpmsg']= $numero;
if(!isset($_SESSION['user'])){
die('Tu dois être connecté pour voir ces merveilles!');
}
if(isset($_POST['submit'])){
$statut = $_POST['statut'];
include '../bdd.php';
[...] |
Merci