battles/upload/index.php

22 lines
814 B
PHP
Raw Normal View History

2018-01-28 16:40:49 +00:00
<!doctype html>
<html>
<head lang="en">
<meta charset="utf-8" />
<title>Загрузка</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.11.3-jquery.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</head>
<body>
<div class="container">
<h1>Загрузка изображений</h1><hr />
<div id="preview"><img src="no-image.jpg" /></div>
<form id="form" action="ajaxupload.php" method="post" enctype="multipart/form-data">
<input id="uploadImage" type="file" accept="image/*" name="image" />
<input id="button" type="submit" value="Загрузить" />
</form>
<div id="err"></div>
</div>
</body>
</html>