L
L
Leonid2016-09-29 10:40:17
PHP
Leonid, 2016-09-29 10:40:17

How to replace the apache_request_headers() php function to read your own HTTP header from the request?

My own HTTP header is passed to the PHP script in the request: X-Data-Token
How to read it in a PHP script if the apache_request_headers () function is not available on the server, and naturally it does not appear in the $_SERVER array.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question