[PHPLondon-discuss] HTTPS redirects?

Ciaran McNulty mail at ciaranmcnulty.com
Thu Sep 20 16:26:14 BST 2007


On 9/20/07, Marcus Bointon <marcus at synchromedia.co.uk> wrote:
> <?php header("Location: https://www.example.com/login.php"); ?>

Marcus,

Just tried to replicate here with PHP 5.1.6 and I get an https URL in
the header as expected.

It may be worth checking that Apache isn't filtering and doing
anything 'helpful' with the response headers.

-Ciaran McNulty



More information about the Phplondon-discuss mailing list