summaryrefslogtreecommitdiff
path: root/urldecode.sh
diff options
context:
space:
mode:
Diffstat (limited to 'urldecode.sh')
-rw-r--r--urldecode.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/urldecode.sh b/urldecode.sh
new file mode 100644
index 0000000..1666621
--- /dev/null
+++ b/urldecode.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env php
+<?php
+
+$contents = file_get_contents('php://stdin');
+echo urldecode($contents);