sending data to multiple pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tracksha
    New Member
    • Dec 2006
    • 1

    #1

    sending data to multiple pages

    dear pals,
    I am a beginner in php and i have a page containing a form. I want to send the data of that form to two pages.how can i do that?The form "action" can only be used once.Please help as soon as possible.thanx.
  • Niheel
    Recognized Expert Moderator Top Contributor
    • Jul 2005
    • 2433

    #2
    { Posted in wrong forum. Moved to PHP forum. }
    niheel @ bytes

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      Originally posted by tracksha
      dear pals,
      I am a beginner in php and i have a page containing a form. I want to send the data of that form to two pages.how can i do that?The form "action" can only be used once.Please help as soon as possible.thanx.
      You'll have to serialize this. Meaning that you post to your form, process it and then send the posted data again to the other form.

      The latter can be done:

      1. via the PHP header() command giving the $_POSTed data in the URL
      2. using PHP cURL functions, passing the $_POSTed data as an array via cURL POST.

      Ronald :cool:

      Comment

      Working...