| | | | |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Erfahrener Benutzer Registriert seit: 18.09.2003
Beiträge: 13.598
PHP-Kenntnisse: Fortgeschritten ![]() | 28.13. Warning: Cannot add header information - headers already sent ... |
| |
| | |
| Gast
Beiträge: n/a
| weiss jetzt nicht genau was du meinst. werde versuchen genau zu beschreiben wies abläuft. also, bei der login.php wird folgendes ausgeführt: Code: elseif($result['priv'] == '100') {
session_register('user');
echo "Adminarea";
}
Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/cyru/sargnagel/index.php: index.php:8 ist admin.php linie 4 ist das: header("location:index.php?action=login"); oder muss ich nachdem ich den header gesendet habe irgendwie die information für den header löschen? |
| | |
| Gast
Beiträge: n/a
| @phpfan: danke für den tipp! also, mit header("location: http://www.example.com/"); gehts auch nicht. in dem fehler steht ja irgendwo (output started at /var/www/localhost/htdocs/cyru/sargnagel/index.php: ich hab das jetzt so interpretiert dass es das 8 case ist das ich auf der index.php include, also die admin.php zeile 1-3 ist: Code: <?php
session_start();
if(!session_is_registered('user') || $_SESSION['user'] == "") {
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Download einer csv-Datei | netty | PHP-Fortgeschrittene | 6 | 02.05.2008 15:53 |
| Problem mit Header-Senden und DB-Zugriff | ajo_silent | PHP-Fortgeschrittene | 14 | 02.05.2006 13:12 |
| mail() und boundary Problem | Gef | PHP Tipps 2006 | 4 | 02.03.2006 00:47 |
| php oder css problem? Wie konfiguriere ich mail header | PHP Tipps 2006 | 1 | 28.02.2006 05:43 | |
| Excel Problem | PHP Tipps 2006 | 5 | 31.01.2006 10:24 | |
| [Erledigt] CSS DIV-Container Problem, ich werd bekloppt, hilfe! | HTML, Usability und Barrierefreiheit | 4 | 30.11.2005 00:49 | |
| header prob mit auth und smarty | PHP Tipps 2005 | 4 | 07.03.2005 12:10 | |
| [Erledigt] Datei selber nach einer Abfrage senden, header() geht nicht? | PHP Tipps 2005 | 2 | 23.02.2005 05:58 | |
| Redirect mit Header - Problem | PHP Tipps 2005 | 3 | 22.02.2005 10:28 | |
| Problem mit header | PHP-Fortgeschrittene | 1 | 09.02.2005 23:10 | |
| header problem | aircrash | PHP Tipps 2005 | 13 | 20.01.2005 23:04 |
| [Erledigt] ZIP Download - Header Problem | PHP-Fortgeschrittene | 1 | 19.08.2004 02:41 | |
| header ("location: ") Problem | PHP Tipps 2004 | 3 | 18.08.2004 12:03 | |
| header problem | PHP Tipps 2004 | 8 | 08.08.2004 00:35 | |
| Problem mit Header und $HTTP_REFERER | PHP Tipps 2004 | 4 | 11.07.2004 12:21 | |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.