summaryrefslogtreecommitdiffstats
path: root/mentions/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mentions/index.php')
-rw-r--r--mentions/index.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/mentions/index.php b/mentions/index.php
new file mode 100644
index 0000000..005efb0
--- /dev/null
+++ b/mentions/index.php
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang=en>
+ <head>
+ <meta charset=UTF-8 />
+ <meta name=viewport content="width=device-width,initial-scale=1.0" />
+ <title>
+ ImgLinkBot
+ </title>
+ <style>
+ body {
+ background-color: black;
+ margin: 0;
+ padding: 0
+ }
+ img {
+ width: 100%
+ }
+ </style>
+ </head>
+ <body>
+ <?php
+ foreach(explode(",", $_REQUEST["i"]) as $a) {
+ echo '<img src="https://i.redd.it/'.htmlspecialchars($a).'" />';
+ }
+ ?>
+ </body>
+</html>