<form method="post" action="short.php"> <input type="text" name="url" placeholder="Ссылка" required> <button name="submit">Сократить</button> </form>