Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/stickycr/public_html/index.php:2) in /home/stickycr/public_html/includes/config.inc.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/stickycr/public_html/index.php:2) in /home/stickycr/public_html/index.php on line 14
Ik krijg dus deze2 errors
config.inc.php :
index.php lijn 1 tot 15
Warning: Cannot modify header information - headers already sent by (output started at /home/stickycr/public_html/index.php:2) in /home/stickycr/public_html/index.php on line 14
Ik krijg dus deze2 errors

config.inc.php :
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]/*
@author: Jeffrey Ponsen [jponsen.nl]
@copyright 2012 - 2013
*/[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]
[COLOR= #FF8000]// MySQL Gegevens[/COLOR]
[COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]*[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Host[/COLOR]
[COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]*[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Gebruikersnaam[/COLOR]
[COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]pass[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]*[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Wachtwoord[/COLOR]
[COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]data[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]*[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Database[/COLOR]
[COLOR= #0000BB]$adminnaam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]kev30[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$dbc[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]pass[/COLOR][COLOR= #007700]]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][COLOR= #0000BB]$dbc[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Er is een fout opgetreden: [/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700](); }[/COLOR]
[COLOR= #0000BB]$data[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$conf[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sql[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]data[/COLOR][COLOR= #007700]]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Er is een fout opgetreden: [/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700](); }[/COLOR]
?> index.php lijn 1 tot 15
<!DOCTYPE html>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]/*
@author: Jeffrey Ponsen [jponsen.nl]
@copyright 2012 - 2013
*/[/COLOR]
[URL="http://www.php.net/require_once"]require_once[/URL] [COLOR= #DD0000]includes/config.inc.php[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$errors[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$go[/COLOR] [COLOR= #007700]=[/COLOR] TRUE[COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]US[/COLOR][COLOR= #007700]])) {[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Location: loggedin.php[/COLOR][COLOR= #007700]);
}[/COLOR]
Wat je kan doen: