From b5a9ec9998919ec739746a7f28148ce4a879543c Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 3 Feb 2020 20:51:37 -0500 Subject: [PATCH] tagline.sh --- cgi-bin/tagline.sh | 7 +++++++ counter/logs/index.txt | 2 +- index.php | 35 ++++++++++++++++++++++------------- links.php | 15 +++++++-------- taglines.txt | 0 5 files changed, 37 insertions(+), 22 deletions(-) create mode 100755 cgi-bin/tagline.sh mode change 100755 => 100644 taglines.txt diff --git a/cgi-bin/tagline.sh b/cgi-bin/tagline.sh new file mode 100755 index 0000000..d71ec59 --- /dev/null +++ b/cgi-bin/tagline.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +printf "Content-type: text/plain; Charset: UTF-8\n" +printf "\n" + +shuf -n1 ../taglines.txt + diff --git a/counter/logs/index.txt b/counter/logs/index.txt index 2a14d60..58dc5af 100644 --- a/counter/logs/index.txt +++ b/counter/logs/index.txt @@ -1 +1 @@ -270 \ No newline at end of file +303 \ No newline at end of file diff --git a/index.php b/index.php index 32b8cac..2642988 100755 --- a/index.php +++ b/index.php @@ -7,11 +7,19 @@ + + + + + + + + ben~tilde.team - +