Re: redirect http to https

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben Liu wrote:

> On 4/9/07, Martin Marques <martin@xxxxxxxxxxxxxxx> wrote:
>
>>
>> This should be done with the rewrite instruction of apache, or what ever
>> instructionyour web server has.
>
>
> Um...guess I will have to check with our hosting company about this.
> Thanks.
>
> - Ben
>
Hello,

FYI :

<?php
header("Location:https://www.yourdomain_name.com";);
exit();
?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux