Skip to content

Commit 123ef5a

Browse files
Assimilationstheoriebshaffer
authored andcommitted
misc updates to examples/url-shortener.php (#1456)
1 parent 4c2c1ee commit 123ef5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/url-shortener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
</div>
123123
<?php elseif (empty($short)): ?>
124124
<form id="url" method="POST" action="<?= htmlspecialchars($_SERVER['PHP_SELF']); ?>">
125-
<input name="url" class="url" type="text">
125+
<input name="url" class="url" type="text" placeholder="URL" required>
126126
<input type="hidden" name="csrf_token" value="<?php echo getCsrfToken() ?>" />
127127
<input type="submit" value="Shorten">
128128
</form>

0 commit comments

Comments
 (0)