[Cookies] session php cookie
Bonjour tout le monde
je me permet de vous deranger
en vous demandant un service que voila
je suis entrain de m'entrainé en php surtout sur le s session
et volia mon premier code :
Code:
1 2 3 4 5 6
| <?php
session_start();
$test= "hello world";
$_SESSION['test']= $test;
echo"exercice";
?> |
ca m'afffiche une erreur :
Citation:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\easyphp1-8\www\tp1.php:7) in c:\program files\easyphp1-8\www\tp1.php on line 14
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\tp1.php:7) in c:\program files\easyphp1-8\www\tp1.php on line 14
exercice
EST CE QUE QUELQU'UN poura m'aider
cordialement