<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web development &#187; Server Request</title>
	<atom:link href="http://sourcecodemoney.com/tag/server-request/feed/" rel="self" type="application/rss+xml" />
	<link>http://sourcecodemoney.com</link>
	<description>Use source code for money</description>
	<lastBuildDate>Thu, 12 Aug 2010 10:54:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Joomla detect if home page</title>
		<link>http://sourcecodemoney.com/joomla-detect-if-home-page/php-code/</link>
		<comments>http://sourcecodemoney.com/joomla-detect-if-home-page/php-code/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 16:21:34 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[PHP code]]></category>
		<category><![CDATA[Code Lt]]></category>
		<category><![CDATA[Current]]></category>
		<category><![CDATA[Echo]]></category>
		<category><![CDATA[Joomla Home Page]]></category>
		<category><![CDATA[Php Server]]></category>
		<category><![CDATA[Request Uri]]></category>
		<category><![CDATA[Server Request]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=58</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		


To detect if current page is Joomla hage page, do this code:
&#60;?php
$uri = $_SERVER['REQUEST_URI'];
if ($uri == &#8220;/&#8221;) {
echo &#8220;You&#8217;re on the homepage&#8221;;
}
?&#62;
]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/joomla-detect-if-home-page/php-code/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><p>To detect if current page is Joomla hage page, do this code:</p>
<div id="code">&lt;?php<br />
$uri = $_SERVER['REQUEST_URI'];<br />
if ($uri == &#8220;/&#8221;) {<br />
echo &#8220;You&#8217;re on the homepage&#8221;;<br />
}<br />
?&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/joomla-detect-if-home-page/php-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
