PHP to answer HEAD requests
| From: | Dan Field | Date: | Fri, 18 Dec 2009 10:38:28 +0000 |
| Subject: | PHP to answer HEAD requests | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-300583@lists.php.net to get a copy of this message | ||
Is it possible to use PHP to answer HEAD http requests? Is it as simple as doing something like:
header('blah')
exit;
I'd expect PHP to produce a full page rather than just a header though.
--
Dan Field <dof@llgc.org.uk> Ffôn/Tel. +44 1970 632 582
Peiriannydd Meddalwedd Senior Software Engineer
Llyfrgell Genedlaethol Cymru National Library of Wales