summaryrefslogtreecommitdiffstats
path: root/bot/index.php
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-10-18 02:30:08 +0200
committersijanec <sijanecantonluka@gmail.com>2020-10-18 02:30:08 +0200
commit91f04705dc4fbdb06e75b9fc272587ed68e89fc9 (patch)
tree95ec28dcd2ad4e8cd1098af7d3d84f50ba6a00d5 /bot/index.php
parentadded bot (diff)
downloadoldredditclient-91f04705dc4fbdb06e75b9fc272587ed68e89fc9.tar
oldredditclient-91f04705dc4fbdb06e75b9fc272587ed68e89fc9.tar.gz
oldredditclient-91f04705dc4fbdb06e75b9fc272587ed68e89fc9.tar.bz2
oldredditclient-91f04705dc4fbdb06e75b9fc272587ed68e89fc9.tar.lz
oldredditclient-91f04705dc4fbdb06e75b9fc272587ed68e89fc9.tar.xz
oldredditclient-91f04705dc4fbdb06e75b9fc272587ed68e89fc9.tar.zst
oldredditclient-91f04705dc4fbdb06e75b9fc272587ed68e89fc9.zip
Diffstat (limited to 'bot/index.php')
-rw-r--r--bot/index.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/bot/index.php b/bot/index.php
new file mode 100644
index 0000000..9fcf4a7
--- /dev/null
+++ b/bot/index.php
@@ -0,0 +1,22 @@
+<!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;
+ }
+ </style>
+ </head>
+ <body>
+ <?php
+ foreach(explode(",", $_REQUEST["i"]) as $a) {
+ echo '<img src="https://i.redd.it/'.htmlspecialchars($a).'" />';
+ }
+ ?>
+ </body>
+</html>