ciao
allora per usare le sessioni devo scrivere prima session_start();
no?
se lo scrivo mi da quest'errore
perchè??Warning: Cannot send session cookie - headers already sent by (output started at c:\etc etc\edit.php:5) in c:\etc etc\edit.php on line 7
Warning: Cannot send session cache limiter - headers already sent (output started at c:\etc etc\edit.php:5) in c:\etc etc\edit.php on line 7
Warning: open(/tmp\sess_1426df6fdb5cddf1c52590875c71e831, O_RDWR) failed: No such file or directory (2) in c:\etc etc\edit.php on line 7
pag 1
pag 2codice:session_start(); $_SESSION['giggio'] == "giggione";
help?codice:session_start(); if ($_SESSION['giggio'] = "giggione") { echo("sei loggato"); } else{ echo("devi loggare!"); }