Am not entirely sure but I think you should replace:
array("POST")
with:
$_POST
Actually the purpose of this was, if I remember correctly, to output the contents of the post array. I wrote a method inside of a class that would take an array of super globals by name so,
$headerMan->getHeaderVarString(array("POST", "GET"));
would convert the strings in the array to variable arrays which refer to super global arrays and output:
_POST
key1=value1
key2=value2
_GET
key1=value1
key2=value2
key3=value3
Something has been modified since though.