aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/ajax/headers/request/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/ajax/headers/request/index.php')
-rw-r--r--test/data/ajax/headers/request/index.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/data/ajax/headers/request/index.php b/test/data/ajax/headers/request/index.php
deleted file mode 100644
index c064ad709..000000000
--- a/test/data/ajax/headers/request/index.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-$headers = array();
-
-foreach( $_SERVER as $key => $value ) {
- $key = str_replace( "_" , "-" , substr($key,0,5) == "HTTP_" ? substr($key,5) : $key );
- $headers[ $key ] = $value;
-}
-
-foreach( explode( "," , $_GET["headers"] ) as $key ) {
- echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n";
-}