Posting from IE8 to PHP gives blank $_POST

前端 未结 5 704
失恋的感觉
失恋的感觉 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条回答
  •  时光取名叫无心
    2021-01-13 01:46

    I'm suspicious that when the script is telling you that $_POST is empty, you did not actually POST the form. You can check by adding print($_SERVER['REQUEST_METHOD']); after your print_r($_POST);

提交回复
热议问题