<?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: HTML Includes Are Here</title>
	<atom:link href="http://www.mogmachine.com/html-includes-are-here/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mogmachine.com/html-includes-are-here</link>
	<description>_work _learn _play</description>
	<pubDate>Thu, 20 Nov 2008 17:31:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Arthur</title>
		<link>http://www.mogmachine.com/html-includes-are-here#comment-2778</link>
		<dc:creator>Arthur</dc:creator>
		<pubDate>Thu, 08 May 2008 17:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=238#comment-2778</guid>
		<description>Sure. See you next week</description>
		<content:encoded><![CDATA[<p>Sure. See you next week</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mog</title>
		<link>http://www.mogmachine.com/html-includes-are-here#comment-2775</link>
		<dc:creator>mog</dc:creator>
		<pubDate>Thu, 08 May 2008 10:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=238#comment-2775</guid>
		<description>Again, this is a PHP includes related question, ...but as the include() function is simply add the contents of a given file into another it should not require any extra variable scope ...but i would like to see your example, ...i am back in the country now so you can come and see me to look at this.</description>
		<content:encoded><![CDATA[<p>Again, this is a PHP includes related question, &#8230;but as the include() function is simply add the contents of a given file into another it should not require any extra variable scope &#8230;but i would like to see your example, &#8230;i am back in the country now so you can come and see me to look at this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arthur</title>
		<link>http://www.mogmachine.com/html-includes-are-here#comment-2773</link>
		<dc:creator>Arthur</dc:creator>
		<pubDate>Mon, 05 May 2008 18:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=238#comment-2773</guid>
		<description>...but it works in mamp</description>
		<content:encoded><![CDATA[<p>&#8230;but it works in mamp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arthur</title>
		<link>http://www.mogmachine.com/html-includes-are-here#comment-2772</link>
		<dc:creator>Arthur</dc:creator>
		<pubDate>Mon, 05 May 2008 18:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=238#comment-2772</guid>
		<description>It is obvious, of course. I noticed one strange thing when you have a file1.php which includes include('file2.php') which in turn includes include(''file3.php'). Variables in file1.php are becoming invisible for file3.php and file2.php.  Even if you global them. How actually to make them visible to all includes in all levels? Tried register globals on - also no success. Any comments?</description>
		<content:encoded><![CDATA[<p>It is obvious, of course. I noticed one strange thing when you have a file1.php which includes include(&#8217;file2.php&#8217;) which in turn includes include(&#8221;file3.php&#8217;). Variables in file1.php are becoming invisible for file3.php and file2.php.  Even if you global them. How actually to make them visible to all includes in all levels? Tried register globals on - also no success. Any comments?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mog</title>
		<link>http://www.mogmachine.com/html-includes-are-here#comment-2770</link>
		<dc:creator>mog</dc:creator>
		<pubDate>Sun, 27 Apr 2008 16:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=238#comment-2770</guid>
		<description>DEFINITELY NOT, ..when you name a file with the extension .inc if it contains PHP and you include it, then as long as the page into which it is being included is PHP, the PHP will be parsed fine, ..BUT ...should a user navigate manually to this page, they will be able to view all of the RAW PHP as the browser treats the .inc extension as a TXT file, ...which of course is a HUGE SECURITY RISK.

However, this is all related to PHP includes using include() and require(), what this post was illustrating were file includes using JUST HTML and JS,  (CLIENT-SIDE, not server-side)...should you have restrictions on using PHP on a site, or it not be a necessary solution to the problem.</description>
		<content:encoded><![CDATA[<p>DEFINITELY NOT, ..when you name a file with the extension .inc if it contains PHP and you include it, then as long as the page into which it is being included is PHP, the PHP will be parsed fine, ..BUT &#8230;should a user navigate manually to this page, they will be able to view all of the RAW PHP as the browser treats the .inc extension as a TXT file, &#8230;which of course is a HUGE SECURITY RISK.</p>
<p>However, this is all related to PHP includes using include() and require(), what this post was illustrating were file includes using JUST HTML and JS,  (CLIENT-SIDE, not server-side)&#8230;should you have restrictions on using PHP on a site, or it not be a necessary solution to the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arthur</title>
		<link>http://www.mogmachine.com/html-includes-are-here#comment-2768</link>
		<dc:creator>Arthur</dc:creator>
		<pubDate>Fri, 25 Apr 2008 14:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogmachine.com/?p=238#comment-2768</guid>
		<description>I thought that simple convention is to name all segments as segment_name.inc when you include() or require()???</description>
		<content:encoded><![CDATA[<p>I thought that simple convention is to name all segments as segment_name.inc when you include() or require()???</p>
]]></content:encoded>
	</item>
</channel>
</rss>
