PHP $_POST not working but $_GET works fine

后端 未结 3 1030
我在风中等你
我在风中等你 2020-12-06 16:47

I\'m trying to build a simple login system using

. Everything works fine on MAMP on my laptop but when I upload the script to the se
3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-06 17:31

    I got it fixed eventually, figure I might as well post what worked here in case someone else has the same problem in future.

    Turns out one of these HTTP modules was interfering with POST:

    RadCompression
    RadUploadModule

    With these modules turned off, POST worked fine.

    (NB this was on a totally new app where I knew there wasn't any existing code that might have depended on one of those modules... turning them off may have unintended consequences I'm not aware of, YMMV.)

提交回复
热议问题