note 58371 added to function.header

From: Date: Wed, 02 Nov 2005 04:40:10 +0000
Subject: note 58371 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-97960@lists.php.net to get a copy of this message
Hello, i get a question... I have a main page(index.php) that has the command to include a file(*.php) that has a login script...in this file if the login is made ok the command header() try to redirect me to the main page(index.php) but is givin me this error: Warning: Cannot modify header information - headers already sent by (output started at c:\www\Rodrigo\index.php:34) in c:\www\Rodrigo\conecta.php on line 43 att, Pedro Gabriel ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58371 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58371&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58371&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58371&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58371&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58371&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58371&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58371&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58371&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#97960) next »