summaryrefslogtreecommitdiff
path: root/kawaii.php
diff options
context:
space:
mode:
authornokonoko <neku@pomf.se>2013-10-29 16:43:17 +0100
committernokonoko <neku@pomf.se>2013-10-29 16:43:17 +0100
commitdf6cf936d7ef3a819c6ff484b24a8cb5946726a9 (patch)
treeb08744a7e5ee561b7c0f15d98d535d2dad2310c6 /kawaii.php
parent9c8308bdfc8bd61880978b0455dfe78ea88fffeb (diff)
Shitty code
Diffstat (limited to 'kawaii.php')
-rw-r--r--kawaii.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/kawaii.php b/kawaii.php
new file mode 100644
index 0000000..34bdce1
--- /dev/null
+++ b/kawaii.php
@@ -0,0 +1,16 @@
+<?php
+$images = array(
+ 'img/2.png',
+ 'img/3.png',
+ 'img/4.png',
+ 'img/5.png',
+ 'img/6.png',
+ 'img/7.png',
+ 'img/8.png',
+ 'img/9.png',
+ 'img/10.png'
+);
+if (headers_sent() === false) {
+ header('Location: ' . $images[array_rand($images)], true, 303);
+}
+?>