Page MenuHomeDevCentral

No OneTemporary

diff --git a/forms/_documents.xml b/forms/_documents.xml
new file mode 100644
index 0000000..12f749f
--- /dev/null
+++ b/forms/_documents.xml
@@ -0,0 +1,7 @@
+<documents topic="forms">
+ <document>
+ <article>printpost</article>
+ <title>Prints a form</title>
+ <description>Gives this URL to an external tool to see the POST request's data.</description>
+ </document>
+</documents>
diff --git a/forms/printpost.php b/forms/printpost.php
new file mode 100755
index 0000000..64a96eb
--- /dev/null
+++ b/forms/printpost.php
@@ -0,0 +1,7 @@
+<?php
+if (count($_POST)) {
+ echo " <h2>POST request content</h2>\n";
+ dprint_r($_POST);
+} else {
+ echo " <p>Posts something to this URL to see the content.</p>\n";
+}

File Metadata

Mime Type
text/x-diff
Expires
Thu, Sep 18, 04:32 (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2989993
Default Alt Text
(730 B)

Event Timeline