<?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 Tricks: How To Handle Multiple Domains</title> <atom:link href="http://www.johnrockefeller.net/php-tricks-how-to-handle-multiple-domains/feed/" rel="self" type="application/rss+xml" /><link>http://www.johnrockefeller.net/php-tricks-how-to-handle-multiple-domains/</link> <description>A refreshing take on digital art, web development, and emerging technology.</description> <lastBuildDate>Mon, 08 Mar 2010 02:25:05 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Handling multiple domains &#124; PHP Readings</title><link>http://www.johnrockefeller.net/php-tricks-how-to-handle-multiple-domains/comment-page-1/#comment-7</link> <dc:creator>Handling multiple domains &#124; PHP Readings</dc:creator> <pubDate>Wed, 28 May 2008 07:40:41 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=194#comment-7</guid> <description>[...] I&#8217;m back again. Today first post is about great tip how you can handle multiple domains in your web applications. A case in point: When I coded [...]</description> <content:encoded><![CDATA[<p>[...] I&#8217;m back again. Today first post is about great tip how you can handle multiple domains in your web applications. A case in point: When I coded [...]</p> ]]></content:encoded> </item> <item><title>By: John Rockefeller&#8217;s Blog: PHP Tricks: How To Handle Multiple Domains &#124; Development Blog With Code Updates : Developercast.com</title><link>http://www.johnrockefeller.net/php-tricks-how-to-handle-multiple-domains/comment-page-1/#comment-6</link> <dc:creator>John Rockefeller&#8217;s Blog: PHP Tricks: How To Handle Multiple Domains &#124; Development Blog With Code Updates : Developercast.com</dc:creator> <pubDate>Tue, 27 May 2008 16:29:20 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=194#comment-6</guid> <description>[...] Rockefeller has a tip he&#8217;d like to share with all of the other PHP developers out there - a little method [...]</description> <content:encoded><![CDATA[<p>[...] Rockefeller has a tip he&#8217;d like to share with all of the other PHP developers out there &#8211; a little method [...]</p> ]]></content:encoded> </item> <item><title>By: Switching server environments</title><link>http://www.johnrockefeller.net/php-tricks-how-to-handle-multiple-domains/comment-page-1/#comment-5</link> <dc:creator>Switching server environments</dc:creator> <pubDate>Mon, 26 May 2008 08:24:13 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=194#comment-5</guid> <description>[...] reading John Rockefeller&#8217;s post on Handling multiple domains and less recently Richard Heye&#8217;s post on displaying errors, I thought I&#8217;d write a [...]</description> <content:encoded><![CDATA[<p>[...] reading John Rockefeller&#8217;s post on Handling multiple domains and less recently Richard Heye&#8217;s post on displaying errors, I thought I&#8217;d write a [...]</p> ]]></content:encoded> </item> <item><title>By: &#187; PHP Tricks: How To Handle Multiple Domains Available Domains:</title><link>http://www.johnrockefeller.net/php-tricks-how-to-handle-multiple-domains/comment-page-1/#comment-4</link> <dc:creator>&#187; PHP Tricks: How To Handle Multiple Domains Available Domains:</dc:creator> <pubDate>Sat, 24 May 2008 17:39:55 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=194#comment-4</guid> <description>[...] Excerpted from:PHP Tricks: How To Handle Multiple Domains [...]</description> <content:encoded><![CDATA[<p>[...] Excerpted from:PHP Tricks: How To Handle Multiple Domains [...]</p> ]]></content:encoded> </item> <item><title>By: Database Management &#187; Blog Archive &#187; PHP Tricks: How To Handle Multiple Domains</title><link>http://www.johnrockefeller.net/php-tricks-how-to-handle-multiple-domains/comment-page-1/#comment-3</link> <dc:creator>Database Management &#187; Blog Archive &#187; PHP Tricks: How To Handle Multiple Domains</dc:creator> <pubDate>Sat, 24 May 2008 17:26:52 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=194#comment-3</guid> <description>[...] Technorati Search for: databases wrote an interesting post today onHere&#8217;s a quick excerpt This is really handy for those of us who have the same code handling multiple sites or multiple sub-domains. A case in point: When I coded NetBoardz (my free forum hosting service now defunct), I had one codebase handling all 250 forums. How? Simple. When the code runs, it determines which site the user is loading and does different things (like using different databases) dynamically. How to determine the domain the user is using to view your site: $domain = $_SERVER[&#8217;HTTP_HOST&#8217;]; if ($domain [...]</description> <content:encoded><![CDATA[<p>[...] Technorati Search for: databases wrote an interesting post today onHere&#8217;s a quick excerpt This is really handy for those of us who have the same code handling multiple sites or multiple sub-domains. A case in point: When I coded NetBoardz (my free forum hosting service now defunct), I had one codebase handling all 250 forums. How? Simple. When the code runs, it determines which site the user is loading and does different things (like using different databases) dynamically. How to determine the domain the user is using to view your site: $domain = $_SERVER[&#8217;HTTP_HOST&#8217;]; if ($domain [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 2/13 queries in 0.010 seconds using disk

Served from: mail.liquidcodefederation.com @ 2010-03-11 12:28:52 -->