post.php 458 B

123456789101112131415161718
  1. <?php
  2. header("Content-Type:text/html; charset=utf-8");
  3. header("Access-Control-Allow-Origin: *");
  4. if (isset($_POST['submit'])) {
  5. echo "<pre>";
  6. echo htmlspecialchars($_POST["test-editormd-markdown-doc"]);
  7. if(isset($_POST["test-editormd-html-code"])) {
  8. echo "<br/><br/>";
  9. echo htmlspecialchars($_POST["test-editormd-html-code"]);
  10. }
  11. echo "</pre>";
  12. }
  13. exit;
  14. ?>