Dit is me scripts van functions.php
<?php
session_start();
include ("config.php");
function CheckLogin()
{
if(!isset($_SESSION['user']) && !isset($_SESSION['pass'])) {
exit ("<META HTTP-EQUIV='Refresh' CONTENT='1'; URL=../index.php'>");
}
}
en ik kreeg deze foutmelding:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/missreplay.freestarthost.com/forum.php:2) in /home/www/missreplay.freestarthost.com/functions.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/missreplay.freestarthost.com/forum.php:2) in /home/www/missreplay.freestarthost.com/functions.php on line 2
834 views