ImgHost/index.php

42 lines
1.4 KiB
PHP
Raw Normal View History

2016-04-07 13:10:39 -04:00
<!--
2023-12-16 09:37:58 -05:00
ImgHost - An open source image databasing and hosting system
2016-04-07 13:10:39 -04:00
A project by Taylor Courage (http://taylorcourage.net)
2023-12-16 09:37:58 -05:00
Latest Release: v0.4.0-beta (Dec 16, 2023)
2016-04-07 13:10:39 -04:00
-->
2023-12-16 09:37:58 -05:00
<?php
include './config/configuration.php';
?>
2016-04-02 10:25:27 -04:00
<html>
<head>
2023-12-16 09:37:58 -05:00
<link rel="stylesheet" href="./config/<?php echo $stylesheet; ?>">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<title><?php echo $serverName; ?></title>
2016-04-02 10:25:27 -04:00
</head>
2023-12-16 09:37:58 -05:00
<body class="background">
<div class="layout" align="center">
<h1><?php echo $serverName; ?></h1>
<br />
2016-04-02 10:25:27 -04:00
<form action="upload.php" method="post" enctype="multipart/form-data">
<br />
<p><input type="file" name="fileToUpload" id="fileToUpload" /></p>
2023-12-16 09:37:58 -05:00
<p><input type="checkbox" name="isPrivate" id="isPrivate" value="1" /><label for="isPrivate"> Private</label></p>
<p>Private images will not be shown in the public gallery, but will still be accessible by visiting the provided link.</p>
<p>All links are generated at random, and are virtually impossible to guess. "Security" through obscurity!</p>
<p><input type="submit" value="Upload Your Image" name="submit" /></p>
2016-04-02 10:25:27 -04:00
</form>
<br />
2023-12-16 09:37:58 -05:00
<p>Accepted file formats: .gif, .png, .jpg/jpeg, .webp</p>
2016-04-02 10:25:27 -04:00
<br />
2016-04-07 12:10:47 -04:00
<hr>
2016-04-02 10:25:27 -04:00
<br />
2023-12-16 09:37:58 -05:00
<input type="submit" value="Browse Public Images" onclick="window.location='./browse';" />
2016-04-02 10:25:27 -04:00
<br />
<br />
<br />
2023-12-16 09:37:58 -05:00
<h6>ImgHost (v0.4.0-beta)</h6>
2016-04-02 10:25:27 -04:00
</div>
</html>