Posting from IE8 to PHP gives blank $_POST

前端 未结 5 707
失恋的感觉
失恋的感觉 2021-01-13 01:05

I have a simple HTML form, sending a post request to a php script. In IE8, the form only works intermittently - most of the time the PHP script sees an empty $_POST variable

5条回答
  •  旧时难觅i
    2021-01-13 01:52

    Have you checked the generated html? Is it possible that echo $_SERVER['PHP_SELF'] isn't producing the output you're after, which messes up the form html, which messes up the POST?

提交回复
热议问题