PHP HTTP Referrer

后端 未结 4 1966
梦谈多话
梦谈多话 2021-01-05 01:58

I have a page which accepts POSTs from a remote site. I would like to detect the domain that these POSTs are coming from. I realize that it can be spoofed but it is better t

4条回答
  •  温柔的废话
    2021-01-05 02:04

    This works for me pretty well:

    https://stackoverflow.com/a/17958676/2635701

    your email: ... rest of form ...

提交回复
热议问题