diff options
| author | kartofen <mladenovnasko0@gmail.com> | 2023-02-13 00:16:32 +0200 | 
|---|---|---|
| committer | kartofen <mladenovnasko0@gmail.com> | 2023-02-13 00:16:32 +0200 | 
| commit | e2642a4025627c8cae644f66b62d8638e9bc2317 (patch) | |
| tree | 023807d7922d6999cab09e6b81559e36cbe39855 /index.php | |
| parent | 1610a267640c8da730a9afe5d8bff3867640e779 (diff) | |
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 6 | 
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@  <?php -  $ARGS = $_GET; +  $ARGS = $_POST;    if(count($ARGS) == 0) {      $ARGS = json_decode($_COOKIE["tasks"], true); @@ -25,7 +25,7 @@      </style>    </head>    <body> -    <form action="index.php" method="get"> +    <form action="index.php" method="post">        <?php          $tasks = $ARGS["tasks"] ?? "0"; @@ -76,7 +76,7 @@          echo "<input type=\"hidden\" name=\"tasks\" value=\"". $tasks ."\">";        ?>      </form> -    <form action="index.php" method="get"> +    <form action="index.php" method="post">        <button type="submit" name="clear" value="t">Delete Everything</button>     </form>    </body>  | 
