1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-05 00:49:33 +00:00

Update index.php

Let's add a `Go back` button for easiness :)
This commit is contained in:
PeGaSuS 2023-01-14 23:02:41 +01:00 committed by GitHub
parent 8ecbe201ba
commit e66b855418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,6 +168,9 @@ function store_file(string $name, string $tmpfile, bool $formatted = false) : vo
if ($formatted)
{
print("<pre>Access your file here: <a href=\"$url\">$url</a></pre>");
?>
<br><a href=""><button>Go back</button></a>
<?php
}
else
{