Error 324 (net::ERR_EMPTY_RESPONSE) when posting from PHP page or to PHP page

北战南征 提交于 2020-01-16 03:54:08

问题


This morning we found an issue with many of the pages on our website when trying to submit a form. If the form is on a PHP page, or submitting to a PHP page, we would receive an error "Error 324 (net::ERR_EMPTY_RESPONSE)".

I have two examples. One an HTML page submitting to itself, another a PHP page submitting to itself.

http://fun2dip.com/query.html http://fun2dip.com/query.php

The HTML page submits without problem, the PHP page receives the above error. The pages are identical other than their extension. There is no PHP code on either page.

If I change the FORM method to GET, both forms work.

Our host is GoDaddy. We have tried troubleshooting the problem with them. They tell us it is a coding or scripting problem, and that everything on their end is fine. They can't help us anymore with the issue unless we can describe the exact problem, which we obviously can't because we have no idea what it is.

Any help is appreciated.

Below is the PHP version of the form.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Untitled</title>
</head>

<body>

    <form action="" method="POST">
        <table border="0" cellpadding="2" cellspacing="0">
            <tr>
                <td align="right" class="str">Name: </td>
                <td><input type="text" name="Name" size="30"></td>
            </tr>
            <tr>
                <td align="right" class="str">E-mail: </td>
                <td><input type="text" name="Email" size="30"></td>
            </tr>
            <tr>
                <td align="right" colspan="2"> &nbsp; </td>
            </tr>
            <tr>
                <td align="center" colspan="2"><input type="submit" value="Submit"></td>
            </tr>
        </table>

        </form>


</body>
</html>

回答1:


After spending a few days on this and pulling out a lot of hair, I eventually was able to get a hold of a tech at GoDaddy who found that the issue was caused by something on their side. They never explained exactly what, and it took a few more days for them to fix. We have since moved the website off of GoDaddy.

Ultimately there was nothing wrong with our code. The issue was on GoDaddy's end.



来源:https://stackoverflow.com/questions/16489790/error-324-neterr-empty-response-when-posting-from-php-page-or-to-php-page

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!