Results 1 to 2 of 2

Thread: One Press of the Submit Button, Form Data sent to Two scripts?

  1. #1

    Thread Starter
    Addicted Member Phenix's Avatar
    Join Date
    Sep 2002
    Location
    Near A Cube
    Posts
    228

    Question One Press of the Submit Button, Form Data sent to Two scripts?

    I have an existing script in Perl as the Form Action (that receives the form data). I would also like a PHP script to receive the same form data without interfering with the existing Perl script.

    How would you recommend to pass the form data to both scripts?

    From my experience today with PHP not passing the GET variables ( http://vbforums.com/showthread.php?s=&threadid=241807 ), I don't think I really want to send to a PHP script first and then resend to the Perl script. So I would probably need to do it from Perl if there is no
    ACTION[]=script1&ACTION[]=script2
    type multiple submit action.

    Also, I can't use CURL.

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    no a form only has one action. you would have to edit teh perl script and send a hidden form to the php script.

    also php does send GET throught the url, you have to do it in the url first not from a hidden input.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width