how to get request headers in php using any url give the details like this(Pragma,Accept-Charset,Accept-Encoding,Host,Accept-Language,User-Agent,Accept,Cache-Control,Connection) give the value.
Try
<?php echo "<pre>"; print_r($_SERVER); ?>