Posted by Alvaro G Vicario on 07/07/05 13:35
*** bissatch@yahoo.co.uk wrote/escribió (7 Jul 2005 03:15:21 -0700):
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /data/httpd/VirtualHosts/www/htdocs/home/update/index.php:12) in
> /data/httpd/VirtualHosts/www/htdocs/home/update/index.php on line 124
>
>
> Is there any reason why I am getting this error?
Nope. You've been chosen randomly for suffering divine wrath :)
May I ask what's in line #12 of
/data/httpd/VirtualHosts/www/htdocs/home/update/index.php file?
> One concern of mine was that the header function was not at the top of the page
> (line 1), does this matter?
It can be last time of the script if you want to. The only rule you must
follow is that headers come first and content comes later. You cannot mix
them.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
[Back to original message]
|