$_POST['author'], 'text' => $_POST['text']]; $comments = json_encode($commentsDecoded, JSON_PRETTY_PRINT); file_put_contents('_comments.json', $comments); } header('Content-Type: application/json'); echo $comments; break; default: return false; } }
Maybe you like these: |
![]() |
![]() |
![]() |
![]() |
![]() |
无觅 |