summaryrefslogtreecommitdiff
path: root/tests/docroot/www
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docroot/www')
-rw-r--r--tests/docroot/www/get-env.php3
-rw-r--r--tests/docroot/www/get-server-env.php3
-rw-r--r--tests/docroot/www/pathinfo.php3
-rw-r--r--tests/docroot/www/phphost.php3
-rw-r--r--tests/docroot/www/phpself.php3
5 files changed, 6 insertions, 9 deletions
diff --git a/tests/docroot/www/get-env.php b/tests/docroot/www/get-env.php
new file mode 100644
index 00000000..15ac94f6
--- /dev/null
+++ b/tests/docroot/www/get-env.php
@@ -0,0 +1,3 @@
+<?php
+ print $_ENV[$_GET["env"]];
+?>
diff --git a/tests/docroot/www/get-server-env.php b/tests/docroot/www/get-server-env.php
new file mode 100644
index 00000000..17b49945
--- /dev/null
+++ b/tests/docroot/www/get-server-env.php
@@ -0,0 +1,3 @@
+<?php
+ print $_SERVER[$_GET["env"]];
+?>
diff --git a/tests/docroot/www/pathinfo.php b/tests/docroot/www/pathinfo.php
deleted file mode 100644
index 39cfce92..00000000
--- a/tests/docroot/www/pathinfo.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- print $_SERVER["PATH_INFO"];
-?>
diff --git a/tests/docroot/www/phphost.php b/tests/docroot/www/phphost.php
deleted file mode 100644
index edf2f68e..00000000
--- a/tests/docroot/www/phphost.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- print $_SERVER["SERVER_NAME"];
-?>
diff --git a/tests/docroot/www/phpself.php b/tests/docroot/www/phpself.php
deleted file mode 100644
index b78b9953..00000000
--- a/tests/docroot/www/phpself.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- print $_SERVER["PHP_SELF"];
-?>