You are here: Re: [PHP] force https « PHP « IT news, forums, messages
Re: [PHP] force https

Posted by Dan Trainor on 06/29/05 06:26

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация