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 240 views
240 views asked Nov 19, 2015 by avibootz
1 answer 189 views
1 answer 154 views
154 views asked Apr 23, 2018 by avibootz
1 answer 185 views
1 answer 184 views
...