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 236 views
236 views asked Nov 19, 2015 by avibootz
1 answer 187 views
1 answer 153 views
153 views asked Apr 23, 2018 by avibootz
1 answer 184 views
1 answer 182 views
...