У меня выдается только одна ссылка

Когда я вставляю в инпут ссылку он мне ее выводит в файл а если я вставляю вторую он мне просто заменяет первую ссылку мне надо так чтобы когда я вставлял ссылку она не заменялась другой вот код:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>I_try</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <header>

        <h1>

            What is this?

        </h1>
        <div class="block">
            <form action="url.php" method="post">

                <input name="url" type="url" value="Ссылочку пожалуйста" title="Сюда)">

                <input type="submit" value="Далее" title="Нажимай!">

            </form>
        </div>
        <br>

    </header>
</body>
</html>

css

body{
    background: url(../img/wtf.jpg) no-repeat center top/cover;
    margin: 0;
    padding: 0;
}

header{
    padding-top: 15px;
    text-align: center;

}

php

<?php 

$filee = fopen('text.txt', 'r+') or die("Error 404");

$urll = htmlspecialchars($_POST['url']); 

$good = fwrite($filee, "$urll");

$here = file('text.txt'); 

echo "$urll";

fclose($filee);

 ?>

Ответы (0 шт):