mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-07 13:41:42 +08:00
init project
This commit is contained in:
18
public/editormd/examples/php/post.php
Normal file
18
public/editormd/examples/php/post.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
header("Content-Type:text/html; charset=utf-8");
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
|
||||
if (isset($_POST['submit'])) {
|
||||
echo "<pre>";
|
||||
echo htmlspecialchars($_POST["test-editormd-markdown-doc"]);
|
||||
|
||||
if(isset($_POST["test-editormd-html-code"])) {
|
||||
echo "<br/><br/>";
|
||||
echo htmlspecialchars($_POST["test-editormd-html-code"]);
|
||||
}
|
||||
|
||||
echo "</pre>";
|
||||
}
|
||||
|
||||
exit;
|
||||
?>
|
||||
Reference in New Issue
Block a user