--- balthork <[EMAIL PROTECTED]> wrote:

> Does anybody know of an equivalent of getPageContext().forward() that
> will allow me to foward form variables to another page?  
> 
> For example, I want to post the form to itself for validation and then
> repopulate the form with the user's input if an error occurs.  If it
> the form is okay, then I would like to forward all of the _POST
> variables to another page to do all of the db work.
> 
> Thank you.


You could take the entire $_POST array and store it in a session variable and
then pull it out for the next page.  I would imagine that is what is being done
on the other system.

James
_____


James D. Keeline
http://www.Keeline.com  http://www.Keeline.com/articles
http://Stratemeyer.org  http://www.Keeline.com/TSCollection

http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
Summer Semester Begins Jun 20 -- New Classes Start Every Few Weeks.


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to