More information about the Underscore mailing list

[_] PHP header() GET not POST

Matt Kane ascorbic at gmail.com
Sun Sep 3 13:21:17 BST 2006


On 3 Sep 2006, at 13:16, Matt Kane wrote:


>
> On 3 Sep 2006, at 13:09, Mike Walters wrote:
>
>> Is this a PHP thing or an HTTP thing, i.e. if PHP would another
>> language do what I need?
>
>
> http://ppewww.ph.gla.ac.uk/~flavell/www/post-redirect.html
>


Replying to myself: in summary you want header("Location: $location",
307); but it's unreliable and you should test it well and ensure you
have a fallback. You may even need browser sniffing to be sure.