Re: Quickform Controller
| From: | Mark Wiesemann | Date: | Mon, 13 Mar 2006 08:44:32 +0000 |
| Subject: | Re: Quickform Controller | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23274@lists.php.net to get a copy of this message | ||
Timothy Marsolais wrote:
> Warning: Cannot modify header information - headers already sent by (output started at
> /path/to/my/server/_lib/class.page.php:257) in
> /path/to/my/server/_pear/PEAR/HTML/QuickForm/Action/Jump.php on line 53
http://de2.php.net/manual/en/faq.using.php#faq.using.headers-sent
> The class.page.php file is my own page class (simple, but it works), and line 257 is the
> following:
>
> echo "<html
> xmlns=\"http://www.w3.org/1999/xhtml\"
> xml:lang=\"en\" lang=\"en\">\n";
This 'echo' is used too early, i.e. before Jump.php sends the header.
Use it later in your script.
HTH,
Mark