QFC: Jump.php and header()
| From: | Paul Smith | Date: | Thu, 04 Mar 2004 19:48:17 +0000 |
| Subject: | QFC: Jump.php and header() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11094@lists.php.net to get a copy of this message | ||
I'm trying to figure out how to use QuickForm_Controller, and I'm trying to do a Wizard-like multi-page form. I'm using QFC within a larger context... by the time I'm ready to start building my HTML_QuickForm_Controller and _Action instances, I've already sent headers. However, this thing seems to need to header('Location: ', 'someurl') in Jump.php to move from one page to the next. I keep getting the 'Cannot modify header information - headers already sent' error. I'm confused as to why it needs to do this... it's using sessions anyway, right?
Does QFC /always/ need to be able to send header('Location: ', 'someurl'), or am I just not doing something right?
--
Paul Smith
Foundry Zero
919.834.5433
www.foundryzero.com