Tag Archives: PHP Streams

HEAD first with PHP Streams

PHP has a built-in function called get_headers that will return the response headers. But it has some downsides, like requesting the whole response (and not only the HEAD) and it’s hard to control behaviour for redirects. On Stackoverflow some users … Continue reading

Posted in Hakre's Tips, PHP Development, Pressed | Tagged , , , , , , , | 3 Comments