Reply to Re: Problem with header("Location:.. function

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация