<?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"
	>
<channel>
	<title>Comments on: Getting the current URL with php</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/</link>
	<description></description>
	<pubDate>Tue, 07 Oct 2008 04:14:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: echo</title>
		<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-13566</link>
		<dc:creator>echo</dc:creator>
		<pubDate>Fri, 10 Dec 2004 05:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-13566</guid>
		<description>ooops...my bad...here it is...
&lt;a href="http://www.faqts.com/knowledge_base/view.phtml/aid/18271/fid/51"&gt;link&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>ooops&#8230;my bad&#8230;here it is&#8230;<br />
<a href="http://www.faqts.com/knowledge_base/view.phtml/aid/18271/fid/51">link</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: echo</title>
		<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-13565</link>
		<dc:creator>echo</dc:creator>
		<pubDate>Fri, 10 Dec 2004 05:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-13565</guid>
		<description>This link explains exactly what you mention with some interesting examples. Stuff I hadn't seen before. 
&lt;a href="http://www.faqts.com/knowledge_base/view.phtml/aid/18271/fid/51"&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>This link explains exactly what you mention with some interesting examples. Stuff I hadn&#039;t seen before.<br />
<a href="http://www.faqts.com/knowledge_base/view.phtml/aid/18271/fid/51"></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8944</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8944</guid>
		<description>I'm not sure exactly what the difference is, but I'm using "&#36;_SERVER['REQUEST_URI']" in some of my scripts and it also seems to work well!

Chris</description>
		<content:encoded><![CDATA[<p>I&#039;m not sure exactly what the difference is, but I&#039;m using &#034;&#36;_SERVER['REQUEST_URI']&#034; in some of my scripts and it also seems to work well!</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jester</title>
		<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8945</link>
		<dc:creator>Jester</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8945</guid>
		<description>&lt;p&gt;Yeah &#36;_SERVER['REQUEST_URI'] gets everything after the actual host, this bit:&lt;/p&gt;
&lt;p&gt;http://www.host.com&lt;b&gt;/script.php?foo=bar&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;So any easy way to get the full, current URL is:&lt;/p&gt;
&lt;h3&gt;echo &#36;_SERVER['HTTP_HOST'].&#36;_SERVER['REQUEST_URI'];&lt;/h3&gt;
&lt;p&gt;Useful for when you want to send emails out and you need to link to the absolute URL.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah &#36;_SERVER['REQUEST_URI'] gets everything after the actual host, this bit:</p>
<p><a href="http://www.host.com" rel="nofollow">http://www.host.com</a><b>/script.php?foo=bar</b></p>
<p>So any easy way to get the full, current URL is:</p>
<h3>echo &#36;_SERVER['HTTP_HOST'].&#36;_SERVER['REQUEST_URI'];</h3>
<p>Useful for when you want to send emails out and you need to link to the absolute URL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lynda</title>
		<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8943</link>
		<dc:creator>lynda</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8943</guid>
		<description>That's okay, I didn't know about the query_string variable and now I do, so it's all good. :)</description>
		<content:encoded><![CDATA[<p>That&#039;s okay, I didn&#039;t know about the query_string variable and now I do, so it&#039;s all good. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8942</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8942</guid>
		<description>Yeah, when I just tested it now - PHP_SELF worked just fine when in an include. Maybe it was an isolated incident due to a weird setting on that server (?)... don't know...</description>
		<content:encoded><![CDATA[<p>Yeah, when I just tested it now - PHP_SELF worked just fine when in an include. Maybe it was an isolated incident due to a weird setting on that server (?)&#8230; don&#039;t know&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lynda</title>
		<link>http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8941</link>
		<dc:creator>lynda</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/01/20/getting-the-current-url-with-php/#comment-8941</guid>
		<description>That's really odd.  I have no idea why it would do that.  I have php_self in several included files and they all work just fine.

Odd! :)</description>
		<content:encoded><![CDATA[<p>That&#039;s really odd.  I have no idea why it would do that.  I have php_self in several included files and they all work just fine.</p>
<p>Odd! <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.294 seconds -->
