<?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: How To Find The Current URL In PHP</title>
	<atom:link href="http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php</link>
	<description>Learn PHP Online</description>
	<lastBuildDate>Fri, 03 Sep 2010 17:39:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Mujahid</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-3121</link>
		<dc:creator>Mujahid</dc:creator>
		<pubDate>Fri, 20 Aug 2010 11:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-3121</guid>
		<description>Great Post, I was looking for this several places and couldn&#039;t find such a clean solution. Thanks a lot</description>
		<content:encoded><![CDATA[<p>Great Post, I was looking for this several places and couldn&#8217;t find such a clean solution. Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fazalyazdan</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-2762</link>
		<dc:creator>fazalyazdan</dc:creator>
		<pubDate>Tue, 27 Jul 2010 12:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-2762</guid>
		<description>hi this is nice post but i don&#039;t understand clearly the function of 
$queryString = $_SERVER[&#039;QUERY_STRING&#039;];
please Explain me in detail why we use it .And also in which satuation we use this function. Thank you</description>
		<content:encoded><![CDATA[<p>hi this is nice post but i don&#8217;t understand clearly the function of<br />
$queryString = $_SERVER['QUERY_STRING'];<br />
please Explain me in detail why we use it .And also in which satuation we use this function. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarthak Vijayrania</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-2141</link>
		<dc:creator>Sarthak Vijayrania</dc:creator>
		<pubDate>Fri, 28 May 2010 08:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-2141</guid>
		<description>Yes this is a very nice post</description>
		<content:encoded><![CDATA[<p>Yes this is a very nice post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Johnson</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-1882</link>
		<dc:creator>Ben Johnson</dc:creator>
		<pubDate>Wed, 07 Apr 2010 08:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-1882</guid>
		<description>hi, nice example though if you have strict warning turned on you will recieve the following error because $_SERVER[&#039;HTTPS&#039;] is only available if the page is requested by HTTPS that&#039;s why you get Undefined index. 

[code]
Notice: Undefined index: HTTPS in /var/www/example.co.uk/public/config.php  on line 4
[/code]

Resolve this by simple changing it to: [code]
if (!empty($_SERVER[&#039;HTTPS&#039;])) {$pageURL .= &quot;s&quot;;}  
[/code]

Hope this helps</description>
		<content:encoded><![CDATA[<p>hi, nice example though if you have strict warning turned on you will recieve the following error because $_SERVER['HTTPS'] is only available if the page is requested by HTTPS that&#8217;s why you get Undefined index. </p>
<p>[code]<br />
Notice: Undefined index: HTTPS in /var/www/example.co.uk/public/config.php  on line 4<br />
[/code]</p>
<p>Resolve this by simple changing it to: [code]<br />
if (!empty($_SERVER['HTTPS'])) {$pageURL .= "s";}<br />
[/code]</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harley</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-1106</link>
		<dc:creator>harley</dc:creator>
		<pubDate>Fri, 27 Nov 2009 05:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-1106</guid>
		<description>how can i open the face book?if my requested url was not found the server</description>
		<content:encoded><![CDATA[<p>how can i open the face book?if my requested url was not found the server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OnLine</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-1082</link>
		<dc:creator>OnLine</dc:creator>
		<pubDate>Mon, 23 Nov 2009 10:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-1082</guid>
		<description>Usseful post. I waz looking for Query String and i find it here. Thanks</description>
		<content:encoded><![CDATA[<p>Usseful post. I waz looking for Query String and i find it here. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fakir Chand</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-810</link>
		<dc:creator>Fakir Chand</dc:creator>
		<pubDate>Wed, 23 Sep 2009 02:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-810</guid>
		<description>Please show how to connect visitor counter with database in PHP</description>
		<content:encoded><![CDATA[<p>Please show how to connect visitor counter with database in PHP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-08-19 &#124; Digital Rehab</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-725</link>
		<dc:creator>links for 2009-08-19 &#124; Digital Rehab</dc:creator>
		<pubDate>Thu, 20 Aug 2009 00:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-725</guid>
		<description>[...] How To Find The Current URL In PHP &#124; Learn PHP Online (tags: php tutorial url) [...]</description>
		<content:encoded><![CDATA[<p>[...] How To Find The Current URL In PHP | Learn PHP Online (tags: php tutorial url) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raja</title>
		<link>http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php/comment-page-1#comment-671</link>
		<dc:creator>raja</dc:creator>
		<pubDate>Thu, 23 Jul 2009 06:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=114#comment-671</guid>
		<description>Thanks u for ur post</description>
		<content:encoded><![CDATA[<p>Thanks u for ur post</p>
]]></content:encoded>
	</item>
</channel>
</rss>
