Hi I am a beginner to programming and have just started learning PHP and wanted to run some experiments with it on my own on visual studio code but when I run the program on live server, it gives me an error can anybody help me?
 <html>
<head>
</head>
<body>
    <form action="thing.php" method="POST">
        <label for="firstname">First Name:</label>
        <input type="text" id="firstname" name="firstname" /><br />
        <input type="submit" value="Report Abduction" name="submit">
    </form>
</body>
</html>
and in thing.php i wrote
<html>
<head>
</head>
<body>
<h2>Testing</h2>
    <?php
    $first_name=$_POST['firstname'];
    echo 'Your first name is '. $first_name;
    ?>
</body>
</html>
The error i received is This page isn’t working If the problem continues, contact the site owner. HTTP ERROR 405