Re: force https

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

 



Ross wrote:
> Hi,
> 
> I need to force the url from http://mydomain.com to https://mydomain.com, so 
> my ssl is active. Anyway this can be done with php?
> 
> 
> R. 
> 

<i'm a newbie, you've been warned>

header('Location: https://mydomain.com'); ?

</i'm a newbie, you've been warned>

I don't know if that would work for an HTTPS referral - however, I don't
know why it wouldn't  Give it a shot, and if nothing else, let *me*
know, even if it's off-list.

Thanks
-dant

-- 
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