How to get the accept header from the current request from the server in PHP

1 Answer

0 votes
echo $_SERVER['HTTP_ACCEPT'];

/*
run:

application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, 
image/pjpeg, application/x-ms-xbap, 
 
*/

 



answered Nov 19, 2015 by avibootz

Related questions

1 answer 331 views
331 views asked Nov 19, 2015 by avibootz
1 answer 264 views
1 answer 221 views
221 views asked Apr 23, 2018 by avibootz
1 answer 270 views
1 answer 273 views
...