php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2008

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 03.12.2008, 18:22  
Benutzer
 
Registriert seit: 13.03.2008
Beiträge: 40
Knuff befindet sich auf einem aufstrebenden Ast
Standard Warning: Cannot modify header information - headers already sent by (output started

Hey Leute,

Hab folgendes Problem:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/knuff.menkisys.net/htdocs/My Hp/login/login.php:9) in /var/www/virtual/knuff.menkisys.net/htdocs/My Hp/login/login.inc.php on line 28

Er sagt als zeile meine cookies an? Was mach ich falsch hab schon alles versucht und mit sufu werde ich auch net schlauer!

Hier ist meine login.inc.php

PHP-Code:
$sql "SELECT UserId, UserNick, UserPass, UserRechte FROM Hp_User WHERE UserNick like '$name' AND UserPass = '$pw'";
$result mysql_query ($sql); 
if (
mysql_num_rows ($result) > 0
    { 
      
$data mysql_fetch_array ($result); 
     
     
$inhalt $data["UserId"];
      
setcookie("knuff_login_userid",$inhalttime()+3600,"/Eigenehp/"); 
     
setcookie("knuff_login_user",$data["UserNick"], time()+3600,"/Eigenehp/");
     
setcookie("knuff_login_rechte",$data["UserRechte"], time()+3600,"/Eigenehp/");
     
setcookie("knuff_login",'eingeloggt'time()+3600"/Eigenehp/");
      
header ("Location: ../index.php"); 
    }
    else 
    { 
      
header ("Location: ../index.php?fehler=1"); 
    }
ob_end_flush(); 
Knuff ist offline  
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 03.12.2008, 18:28  
moderatives Dielektrikum
 
Benutzerbild von nikosch
 
Registriert seit: 21.05.2008
Beiträge: 35.988
PHP-Kenntnisse:
Fortgeschritten
nikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunftnikosch hat eine strahlende Zukunft
Standard

Zitat:
Ergebnisse 1 - 10 von ungefähr 4.720.000 für Cannot modify header information - headers already sent by
[MOD: Thread geschlossen]
__________________
--
One pixel is still too big. Please make it smaller. ASAP.

Initiative Mittelstand.
Die wichtigste Gestaltungsregel im Screendesign ist Pi mal Daumen des Arbeitgebers.
--
nikosch ist gerade online  
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Cannot modify header information PHP-Fortgeschrittene 13 24.10.2006 20:01
Warning: Cannot modify header information - headers already LP PHP Tipps 2005-2 2 12.09.2005 19:28
Fehler: Warning: Cannot modify header information - headers PHP Tipps 2005-2 14 01.09.2005 15:02
Suche Tipps für Persormance-Steigerung (Geld für Nützliches) Beitragsarchiv 18 16.08.2005 10:57
Warning: file_exists() [function.file-exists] PHP Tipps 2005-2 6 24.07.2005 01:22
Problem: Cannot modify header information Alpha Centauri PHP Tipps 2005 11 25.04.2005 13:05
update auf php 5.0.4 robo47 Server, Hosting und Workstations 6 10.04.2005 19:00
cannot modify header information!?!?! Fraylman PHP Tipps 2005 14 18.03.2005 18:14
Cannot modify header information - headers already sent PHP Tipps 2005 2 15.03.2005 22:10
Warning: Cannot modify header information ... PHP Tipps 2005 24 15.02.2005 11:07
Warning: Cannot modify header... einbinden nicht möglich? PHP Tipps 2004 2 07.08.2004 15:06
Cannot modify header information - headers already sent by PHP Tipps 2004 2 25.07.2004 19:40
Cannot send session cookie - headers already sent... PHP Tipps 2004 12 23.07.2004 10:31
Warning: Cannot modify header information PHP Tipps 2004 8 22.07.2004 00:50
Warning: Cannot modify header information.... PHP Tipps 2004 4 18.06.2004 01:38

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
warning: cannot modify header information - headers already sent by (output started at /var/www/, cannot modify header information, warning: cannot modify header information - headers already sent by (output started at /var/www, cannot modify header information - headers already sent by (output started, cannot modify header information - headers already sent by (output started at, cannot modify header information - headers already sent, php warning: cannot modify header information - headers already sent by (output started at :1) in on line setcookie();, warning: cannot modify header information - headers already sent by (output started at .php:4) in on line 11, warning: cannot modify header information - headers already sent by cookie, cannot modify header information headers already sent by output started at, cookies cannot modify, \cannot modify header information headers already sent by output started at\ header location, wiki header already sent, warning: cannot modify header information, grafik verbessern mit modify headers, warning: cannot modify header information - headers already sent by (output started at /var/www/index.php, php warning: cannot modify header information - headers already sent by, php warning: cannot m odify header information - headers already sent by, header already sent header.php, warning: cannot modify header iwarning: cannot modify header information - headers already sent by (output started at

Alle Zeitangaben in WEZ +2. Es ist jetzt 17:38 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum