Tag Archives: Status

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

Apache 1.3 Default 300-307 Server Responses

I had run a testscript (see below) that is a bit whacky but working to gather server responses somehow automatically to get a servers default answers. It is written in PHP and needs curl to be available and a server … Continue reading

Posted in Scripts, Tools | Tagged , , , , | Leave a comment