Headers Already Sent

Gestart doorWouter3 reacties33 weergaven

4 berichten · pagina 1 van 1

Wouter

Lid · Topicstarter

Berichten
3.540
Reputatie
0
Punten
0,01
Lid sinds
Laatst gezien
Howdy!

Op http://www.klikspel.eu heb ik nog altijd te kampen met boven mijn layout en foutmelding.
Het rare van alles is dat http://www.klikspel.eu/inloggen.php net hetzelfde scripting bevat, maar geen foutmelding

Heeft iemand raad?
session_start staat helemaal bovenin config-bestand, dat overal geincluded wordt smile
Wouter
0
Tim

Lid

Berichten
712
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je probeert waarschijnlijk cookies aan te maken terwijl je al iets geoutput hebt.
Laat je script eens zien?
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
bij index.php heb je iets voor
0
Wouter

Lid · Topicstarter

Berichten
3.540
Reputatie
0
Punten
0,01
Lid sinds
Laatst gezien
Sjoerd schreef:
bij index.php heb je iets voor
Nee hoor smile
Tim schreef:
Je probeert waarschijnlijk cookies aan te maken terwijl je al iets geoutput hebt.
Laat je script eens zien?

[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"settings.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"$sitenaam"[/COLOR][COLOR= #007700]);[/COLOR] ?></title>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"meta.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>
<script language="javascript" type="text/javascript">
function clearText(field){

    if (field.defaultValue == field.value) field.value = ;
    else if (field.value == ) field.value = field.defaultValue;

}
</script>
</head>
<body>
<div id="templatemo_header_wrapper">
<!--  Free Web Templates by TemplateMo.com  -->
  <div id="templatemo_header">
    
       <div id="site_logo"></div>
        
        <div id="templatemo_menu">
              <div id="templatemo_menu_left"></div>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"menuboven.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>     
        </div> <!-- end of menu -->
    
    </div>  <!-- end of header -->
</div> <!-- end of header wrapper -->
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"banner_wrapper.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>

<div id="templatemo_content_wrapper">
    <div id="templatemo_content">
    
        <div id="column_w530">
            
            <div class="header_02">Welkom op [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"$sitenaam"[/COLOR][COLOR= #007700]);[/COLOR] ?></div>
            
            <p class="em_text">Een regelmatige internetgebruiker zal het zeker niet ontgaan zijn: de talloze klikspellen of GTPs.<br />
        Helaas beschikken sommige niet over het nodige scripttalent, maar wel over een groot managementtallent.<br />
        Dit is gelukkig nu geen probleem meer, op Klikspel.eu kan je gratis een eigen klikspel opstarten met verschillende layouts, script en handige tools!
           
        </div>
        
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"menurechts.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>
            
            <div class="cleaner"></div>
        </div>
    
        <div class="cleaner"></div>
    </div> <!-- end of content wrapper -->
</div> <!-- end of content wrapper -->

<div id="templatemo_footer_wrapper">

[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"menuonder.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>
        
        <div class="margin_bottom_20"></div>
        [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"$copy"[/COLOR][COLOR= #007700]);[/COLOR] ?>
    <div class="cleaner"></div>
    </div> <!-- end of footer -->
    <!--  Free CSS Templates by TemplateMo.com  -->
</div> <!-- end of footer -->
</body>
</html>


[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR] ?>
[COLOR= #0000BB]<?
$mysql_server[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"***"[/COLOR][COLOR= #007700];[/COLOR][COLOR= #FF8000]//mysql server[/COLOR]
[COLOR= #0000BB]$mysql_pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"***"[/COLOR][COLOR= #007700];[/COLOR][COLOR= #FF8000]//wachtwoord[/COLOR]
[COLOR= #0000BB]$mysql_login[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"***"[/COLOR][COLOR= #007700];[/COLOR][COLOR= #FF8000]//gebruikersnaam[/COLOR]
[COLOR= #0000BB]$mysql_database[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"***"[/COLOR][COLOR= #007700];[/COLOR][COLOR= #FF8000]//database[/COLOR]
[COLOR= #0000BB]$mysql_conn[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_connect"]mysql_connect[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"$mysql_server"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"$mysql_login"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"$mysql_pass"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"$mysql_database"[/COLOR][COLOR= #007700]);[/COLOR]
?>
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren