We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c2c1ee commit 123ef5aCopy full SHA for 123ef5a
examples/url-shortener.php
@@ -122,7 +122,7 @@
122
</div>
123
<?php elseif (empty($short)): ?>
124
<form id="url" method="POST" action="<?= htmlspecialchars($_SERVER['PHP_SELF']); ?>">
125
- <input name="url" class="url" type="text">
+ <input name="url" class="url" type="text" placeholder="URL" required>
126
<input type="hidden" name="csrf_token" value="<?php echo getCsrfToken() ?>" />
127
<input type="submit" value="Shorten">
128
</form>
0 commit comments