Hey I'm testing the following code to make sure the user is logged in.
session_start();
if (@auth !="yes")
{
header("Location: Login.php");
exit();
}
Even on the login page, there is a similar error tho that I do not understand.
Warning: Cannot send session cookie - headers already sent by (output started at /Library/WebServer/WebSites/fulleffectfilms/trash.php:10) in /Library/WebServer/WebSites/fulleffectfilms/trash.php on line 11
What does that mean? It is the first time I put session_start()... how could one have been started already?
-Shaw