<?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- Getting The Filename From A URL</title>
	<atom:link href="http://www.brightcherry.co.uk/scribbles/php-getting-the-filename-from-a-url/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brightcherry.co.uk/scribbles/php-getting-the-filename-from-a-url/</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 16:15:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Genuskbl</title>
		<link>http://www.brightcherry.co.uk/scribbles/php-getting-the-filename-from-a-url/#comment-2791</link>
		<dc:creator>Genuskbl</dc:creator>
		<pubDate>Fri, 16 Sep 2011 22:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=81#comment-2791</guid>
		<description>strstr(basename($_SERVER[&#039;REQUEST_URI&#039;]), &#039;.php&#039;, true);
gets any thing before the .php file extension

works good in php 4-5</description>
		<content:encoded><![CDATA[<p>strstr(basename($_SERVER['REQUEST_URI']), &#8216;.php&#8217;, true);<br />
gets any thing before the .php file extension</p>
<p>works good in php 4-5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Big ben</title>
		<link>http://www.brightcherry.co.uk/scribbles/php-getting-the-filename-from-a-url/#comment-2474</link>
		<dc:creator>Big ben</dc:creator>
		<pubDate>Wed, 03 Aug 2011 14:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=81#comment-2474</guid>
		<description>Cool, but it&#039;s not working if you have some parameters in the URL!!</description>
		<content:encoded><![CDATA[<p>Cool, but it&#8217;s not working if you have some parameters in the URL!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlado</title>
		<link>http://www.brightcherry.co.uk/scribbles/php-getting-the-filename-from-a-url/#comment-2018</link>
		<dc:creator>Vlado</dc:creator>
		<pubDate>Wed, 27 Apr 2011 07:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=81#comment-2018</guid>
		<description>Note that if you do not parse $_SERVER[&#039;REQUEST_URI&#039;], but whole URL like http://exzmple.com/index.php?page=about basename($URL, &#039;.php&#039;) returns &#039;index.php?page=about&#039;</description>
		<content:encoded><![CDATA[<p>Note that if you do not parse $_SERVER['REQUEST_URI'], but whole URL like <a href="http://exzmple.com/index.php?page=about" rel="nofollow">http://exzmple.com/index.php?page=about</a> basename($URL, &#8216;.php&#8217;) returns &#8216;index.php?page=about&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xirgo</title>
		<link>http://www.brightcherry.co.uk/scribbles/php-getting-the-filename-from-a-url/#comment-1238</link>
		<dc:creator>Xirgo</dc:creator>
		<pubDate>Mon, 03 Jan 2011 00:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=81#comment-1238</guid>
		<description>Thank you for this!</description>
		<content:encoded><![CDATA[<p>Thank you for this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://www.brightcherry.co.uk/scribbles/php-getting-the-filename-from-a-url/#comment-1037</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Sat, 17 Jul 2010 11:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=81#comment-1037</guid>
		<description>you are a god-send!</description>
		<content:encoded><![CDATA[<p>you are a god-send!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

