There is a page with a form, when you click on submit, it sends it on the page handler.php, but instead of doing something, it writes:

Страница недоступна Сайт site.com не отправил данных. ERR_EMPTY_RESPONSE 

It does not work even on a simple example.

 <form action="handler.php" method="post"> <input type="text" name="text"> <input type="submit"> </form> 

handler.php

 <?php print_r($_POST); ?> 
  • one
    Lay out the form code and the handler. Wang is not here. - Durrasell
  • Show the PHP handler code, or better yet, attach server logs. - Suvitruf
  • Well, since it is not available, what do you want from it? So you do not correctly specify the path to the handler. - And
  • @Durrasell showed - Denver
  • @Suvitruf laid out - Denver

1 answer 1

In short, who was interested in what the problem was ... There was PHP 7.0 on the server, and I used eval (), but it does not work in PHP 7! And when the line was commented out the code did not work)

PS Thank you, everyone who tried to help)