<?php
    header
('Content-type: text/plain');
    echo 
"Your client sent the following headers...\n";
    
print_r(getallheaders());
?>