PHP Post Request inside a POST Request

前端 未结 3 2096
余生分开走
余生分开走 2021-01-25 08:03

There is a contact form which current action is http://www.siteA.com/ContactInfo.php, it sends fields and values. In ContactInfo.php, i just catch the values and se

3条回答
  •  Happy的楠姐
    2021-01-25 08:49

    Without seeing your code it's hard to say what the problem is.

    Questions:

    Is site B a domain you also own, or is it third party? If it's third party they may be running bot checks and the like that would make your POST fail.

    Have you done anything to confirm that the data is in fact being send to domain B?

    If domain B is also under your control, my guess is they are running on the same web server - why not just write logic into the domain A page that does whatever it is that needs to be done without having to submit to domain B?

提交回复
热议问题