View file admin/upload.php
<? include "../head.php"; ?> <div class="title">Меню:</div> <div class="main"> <html> <head> </head> <body> <h2><p><b> Форма для загрузки файлов </b></p></h2> <form action="upload_ok.php" method="post" enctype="multipart/form-data"> <input type="file" name="filename"><br> <input type="submit" value="Загрузить"><br> </form> </body> </html> <? include "../foot.php"; ?>