<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: php force redirect from http to https</title>
	<atom:link href="http://blog.cnizz.com/2007/05/14/php-force-redirect-from-http-to-https/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cnizz.com/2007/05/14/php-force-redirect-from-http-to-https/</link>
	<description>my little notepad</description>
	<lastBuildDate>Mon, 06 Feb 2012 06:05:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://blog.cnizz.com/2007/05/14/php-force-redirect-from-http-to-https/comment-page-1/#comment-6373</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 19 Feb 2008 03:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.cnizz.com/blog/?p=49#comment-6373</guid>
		<description>Nathan - thanks.  I had no idea that the rest of the script would continue to run.

phpboon - I think you would just add in the www right before calling the global variable $_SERVER[&#039;SERVER_NAME&#039;]</description>
		<content:encoded><![CDATA[<p>Nathan &#8211; thanks.  I had no idea that the rest of the script would continue to run.</p>
<p>phpboon &#8211; I think you would just add in the www right before calling the global variable $_SERVER['SERVER_NAME']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phpnoob</title>
		<link>http://blog.cnizz.com/2007/05/14/php-force-redirect-from-http-to-https/comment-page-1/#comment-5577</link>
		<dc:creator>phpnoob</dc:creator>
		<pubDate>Thu, 31 Jan 2008 23:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cnizz.com/blog/?p=49#comment-5577</guid>
		<description>how do you force https://www. ???

One of my sites only allows for the www.domain.com to access ssl, so any other format ends with an error.

domain.com -&gt; bad
http://domain.com -&gt; bad
www.domain.com -&gt; good</description>
		<content:encoded><![CDATA[<p>how do you force <a href="https://www" rel="nofollow">https://www</a>. ???</p>
<p>One of my sites only allows for the <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> to access ssl, so any other format ends with an error.</p>
<p>domain.com -&gt; bad<br />
<a href="http://domain.com" rel="nofollow">http://domain.com</a> -&gt; bad<br />
<a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> -&gt; good</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Wallwork</title>
		<link>http://blog.cnizz.com/2007/05/14/php-force-redirect-from-http-to-https/comment-page-1/#comment-5431</link>
		<dc:creator>Nathan Wallwork</dc:creator>
		<pubDate>Mon, 28 Jan 2008 17:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.cnizz.com/blog/?p=49#comment-5431</guid>
		<description>Should also call exit, or the rest of the script will still run,and may leak information over http.</description>
		<content:encoded><![CDATA[<p>Should also call exit, or the rest of the script will still run,and may leak information over http.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

