Getting All Headers Sent by the Browser in PHP


Retrieve all headers sent by the client with getallheaders().

Source Code

$headers = getallheaders();
print_r($headers);
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments