Using php and POST on a form, but request_method says it is a GET
问题 So I have this form that I am submitting to a php script that echos $_SERVER['REQUEST_METHOD']. I do not know why, but even though I specify the POST method in the form, it always echoes GET. Why is this? What am I doing wrong? <form action="location.php" method="POST"> <table> <tr> <td>name</td> <td><input type="text" name="name"></td> </tr> <tr> <td>address</td> <td><input type="text" name="address"></td> </tr> <tr> <td>lat</td> <td><input type="text" name="lat"></td> </tr> <tr> <td>lng</td