How to forward a request object with request data in php?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thallasridevi
    New Member
    • Dec 2007
    • 27

    How to forward a request object with request data in php?

    Hi All,

    I have page called page1.php with some hidden fields and i submitted the page to page2.php. I page2.php, i am able to get the values of hidden fields through $_REQUEST. And from this page 2 i need to forward the values of hidden fields to page3. Is any way to send the previous request directly to page3? or do i need to again write the values into hidden fields and get them in page3? I have a total of 70 hidden fields getting through the script. So i could not use sessions.

    Regards,
    Sridevi.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Since the $_POST array is cleared, you either have to store the values from the hidden fields of form1 again in the hidden fields of form2 OR you store them in the $_SESSION array in form1 and pick them up again in form3.
    Do not forget to start each script with the
    [php]
    start_session;[/php]
    command.

    70 fields cannot be a problem for the latter.

    Ronald

    Comment

    Working...