views:

40

answers:

1

I need to determine whether an HTTP request was an HTTP/1.0 or an HTTP/1.1 request in my PHP script, which is running under Apache. Is there a way to query this information?

+7  A: 

$_SERVER['SERVER_PROTOCOL'] as at http://www.php.net/manual/en/reserved.variables.server.php

brian_d