cannot modify header information - headers already sent by (output sarted at /home/phillemo/public_html/buddyfinder/inloggen.php:15) in /home/phillemo/public_html/buddyfinder/inloggen.php on line 103
code lijn 15.
<head>
<title>Buddy finder</title>
<?php
if(strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE')) {
echo '<link href="css/cssIE.css "rel="stylesheet" type="text/css" />';
} else {
echo '<link href="css/css.css" rel="stylesheet" type="text/css" />';
}
?>
<script src="http://maps.google.com/maps?file=api&v=2&key=[ABQIAAAANfFZFQ0pxUlCHe0mY3Jr5RRh5kAGsl_oGBvs4Kw3wRifQPzUURRrj4X1uyHwWm_jQGTJH_LaMVTd3A]"type="text/javascript"></script>
<script src="googlemaps/Googlemaps.js" type="text/javascript"></script>
</head>
code lijn 103
if( $pass == md5($wachtwoord))
{
//echo "Ok, wachtwoord stemt overeen met gebruiker, nu inloggen...<br />";
$_SESSION['Gebruikersnaam'] = $gebruiker;
setcookie('Gebruikersnaam', $gebruiker, time() + 60*60); // cookie blijft 60 keer 60 seconden bestaan
setcookie("Wachtwoord", $wachtwoord, time() + 60*60);
//echo "U bent nu ingelogt als " . $_SESSION[Gebruikersnaam];
//echo "U bent nu ingelogt als " . $gebruiker;
echo "U wordt nu ingelogt, even geduld aub...";
//echo('<meta http-equiv = refresh content=3;url="http://gunsphilippe.dreamhosters.com/Project 2/profiel.php">');
echo('<meta http-equiv = refresh content=3;url="http://localhost/Prive/buddy_finder%20kopie/lijst_duikplaats.php">');
}