How To ? Form Post to Multiple Locations

前端 未结 4 662
猫巷女王i
猫巷女王i 2020-12-01 15:23

I have a form which I need to POST to multiple scripts. How can I do this the simplest way?

I know it could be done with Javascript, Curl or Snoopy class, but really

4条回答
  •  醉酒成梦
    2020-12-01 16:01

    The best way to go about it would be to first submit the form to your local script, then use CURL to POST the (filtered) data that was received to the remote script. Then just watch for the response.

    Then simply send the email and process the response from the remote script in your local one.

提交回复
热议问题