Re: php header information
| From: | James E Hicks III | Date: | Mon, 02 Feb 2004 14:14:01 +0000 |
| Subject: | Re: php header information | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176572@lists.php.net to get a copy of this message | ||
On Monday 02 February 2004 08:57 am, Angelo Zanetti wrote:
> HI all
>
> I have a page that has been written by someone else and when I run it and
> click on a button to valid the username and password to login it sends me
> back the same page with the following:
>
> Warning: Cannot modify header information - headers already sent by (output
> started at c:\program files\apache group\apache\htdocs\zero\db_class.inc:1)
> in c:\program files\apache group\apache\htdocs\zero\login.php on line 26
>
Check db_class.inc, it is probably got a space or something in it and that is
enough to cause this problem. You cannot send anything at all before you use
the header() function.
James Hicks