Skip to content

Commit 804d221

Browse files
committed
Added a message to the demo.
1 parent 5f0b036 commit 804d221

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ function getFormSubmissionLimit($default = false)
8585
<body>
8686
<h1>Max Submit</h1>
8787

88+
<?php if (!empty($_POST)) : ?>
89+
<p style="border-radius: 4px; border: 2px solid #ff3333; padding: 1em; background-color: #fdeaaa">
90+
Thank you for posting some stuff!
91+
On a real application you may have lost some data by doing so.
92+
</p>
93+
<?php endif; ?>
94+
8895
<p>
8996
The real server form submission parameter limit is <?php echo getFormSubmissionLimit('{not defined}'); ?>.
9097
For these tests, we will set the limit to 2, so the confirm message is always shown.

0 commit comments

Comments
 (0)