From 17ed2c68a4b019aa8640682f55dc1430a862ccb1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 Feb 2014 18:31:20 +0100 Subject: ready --- blob/test | 3 --- www/puush.php | 37 +++++++++++++++++++++++-------------- 2 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 blob/test diff --git a/blob/test b/blob/test deleted file mode 100644 index fbaa68e..0000000 --- a/blob/test +++ /dev/null @@ -1,3 +0,0 @@ -This is a test file. -Just an example. -Do not bother to read this. diff --git a/www/puush.php b/www/puush.php index 43cc766..069750e 100644 --- a/www/puush.php +++ b/www/puush.php @@ -5,10 +5,12 @@
-

A random puush image!

+

A random "puu.sh" file!

" . $id .""; + return $count; } else { - $count++; - get_image(); + $count = $count + 1; + if($count < 50){ + $count = get_image($count); + } else { + echo "We tried for " . $count . " times. Now is enough.

"; + echo "Try again"; + exit; + } } } -$result = get_image(); -$count = preg_replace("/|(.*)$/", "", $string); -$image = preg_replace("/^(.*)|/", "", $string); -echo -?> -<? echo $image; ?>></a>
+$count = get_image($count);
 
+echo
-

We tried for times.

+

We tried for " . $count . " times.

+ +
+
Try again
+"; +?> -- cgit v1.2.3